ultimatepos/Modules/Project/Resources/views/project/partials/shipments.blade.php

30 lines
1.2 KiB
PHP

@if(!empty($tms_installed) && auth()->user()->can('tms.shipments.view'))
<div class="box box-solid" style="margin-top:15px;">
<div class="box-header with-border">
<h3 class="box-title"><i class="fa fa-truck"></i> @lang('project::lang.project_shipments')</h3>
@can('tms.shipments.create')
<div class="box-tools">
<button type="button" class="btn btn-sm btn-primary" id="project_create_shipment_btn">
<i class="fa fa-plus"></i> @lang('project::lang.add_shipment')
</button>
</div>
@endcan
</div>
<div class="box-body">
<table class="table table-bordered table-striped" id="project_shipments_table" style="width:100%">
<thead>
<tr>
<th>@lang('tms::lang.ref_no')</th>
<th>@lang('tms::lang.shipment_type')</th>
<th>@lang('tms::lang.status')</th>
<th>@lang('tms::lang.driver')</th>
<th>@lang('tms::lang.scheduled_at')</th>
<th>@lang('tms::lang.freight_cost')</th>
<th></th>
</tr>
</thead>
</table>
</div>
</div>
@endif