@extends('layouts.user')

{{-- Web site Title --}}
@section('title')
    {{ $title }}
@stop

{{-- Content --}}
@section('content')
    {{--<div class="page-header clearfix">--}}
        {{--<div class="pull-right">--}}
            {{--<a href="{{ url($type.'/draft_salesorders') }}" class="btn btn-primary m-b-10">{{trans('sales_order.draft_salesorders')}}</a>--}}
            {{--<a href="{{ url('salesorder_invoice_list') }}" class="btn btn-primary m-b-10">{{ trans('sales_order.invoice_list') }}</a>--}}
            {{--<a href="{{ url('salesorder_delete_list') }}" class="btn btn-primary m-b-10">{{ trans('sales_order.delete_list') }}</a>--}}
            {{--@if($user_data->hasAccess(['sales_orders.write']) || $user_data->inRole('admin'))--}}
                {{--<a href="{{ 'sales_order/create' }}" class="btn btn-primary m-b-10">--}}
                    {{--<i class="fa fa-plus-circle"></i> {{ trans('sales_order.create') }}</a>--}}
            {{--@endif--}}
        {{--</div>--}}
    {{--</div>--}}
    <div class="panel panel-default">
        <div class="panel-heading">
            <h4 class="panel-title">
                <i class="material-icons">attach_money</i>
                {{ $title }}
            </h4>
            <span class="pull-right"><i class="fa fa-fw fa-chevron-up clickable"></i></span>
        </div>
        <div class="panel-body">
            <div class="table-responsive">
                <table id="data" class="table  table-bordered table-hover">
                    <thead>
                    <tr>
                        <th>{{ trans('sales_order.sale_number') }}</th>
                        <th>{{ trans('sales_order.agent_name') }}</th>
                        {{--                        <th>{{ trans('sales_order.main_staff') }}</th>--}}
                        <th>{{ trans('sales_order.total') }}</th>
                        <th>{{ trans('sales_order.date') }}</th>
                        <th>{{ trans('sales_order.exp_date') }}</th>
                        <th>{{ trans('sales_order.payment_term') }}</th>
                        <th>{{ trans('sales_order.status') }}</th>
                        <th>{{ trans('sales_order.expired') }}</th>
                        <th>{{ trans('table.actions') }}</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

@stop

{{-- Scripts --}}
@section('scripts')

@stop