COST SHEET
{{-- @can('stats.user', Auth::user()) --}}
@can('wpo_arrival_supervisor', Auth::user())
status == 'wpo_verified') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @else onclick="return confirm('Are you sure you want to reverse this cost sheet?')" @endif>Reverse
Cost Sheet
status == 'wpo_verified') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Verify
@elsecan('audit_toc.user', Auth::user())
status == 'toc_vetted') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Vet
@elsecan('audit_toc.supervisor', Auth::user())
status == 'toc_validated') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Validate
@elsecan('audit_toc.certifier', Auth::user())
status == 'toc_certified') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Certify
@elsecan('labour_supply_accra.user', Auth::user())
status == 'accounts_prepared') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Prepare
@elsecan('labour_supply_accra.supervisor', Auth::user())
status == 'accounts_supervised') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Supervise
@elsecan('labour_supply_accra.vet', Auth::user())
status == 'accra_audit_vetted') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Vet
@elsecan('labour_supply_accra.validate', Auth::user())
status == 'accra_audit_validated') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Validate
@elsecan('labour_supply_accra.certify', Auth::user())
status == 'accra_audit_certified') onclick="event.preventDefault()" oncontextmenu="return false;" disabled @endif>Certify
@endcan
{{-- @endcan --}}
COST SHEET REF. | GANG | TOC | SEASON | COST SHEET DATE |
---|---|---|---|---|
{{ $cost_sheet->cost_sheet_ref }} | {{ $cost_sheet->gang->gang_name }} | {{ $cost_sheet->port->name }} | {{ $cost_sheet->season->name }} | {{ Carbon::parse($cost_sheet->cost_sheet_date)->format('dS M Y') }} |
@can('audit_toc.user', Auth::user())
@elsecan('audit_toc.supervisor')
@elsecan('audit_toc.certifier')
@endcan
@can('labour_supply_accra', Auth::user())
@endcan
@foreach ($shed_gang_allocations as $shed_gang_allocation)
@can('audit_toc.user', Auth::user())
@elsecan('audit_toc.supervisor')
@elsecan('audit_toc.certifier')
@endcan
@can('labour_supply_accra', Auth::user())
@endcan
@endforeach
@php
if ($cost_sheet->wh_tax_status != null) {
$withholding_tax = 0.075 * $cost_sheet->labour_services_charge;
} else {
$withholding_tax = 0;
}
if ($cost_sheet->accra_vat_status != null) {
$accra_vat = 0.07 * $cost_sheet->total_levy;
} else {
$accra_vat = 0;
}
$amt_payable_accra = $cost_sheet->total_cost - ($accra_vat + $withholding_tax);
@endphp
@can('labour_supply_accra', Auth::user())
@endcan
No. | Activity Summary Reference | Activity | Shed | Quantity Fulfilled (Bags) | Activity Date | Rate | WAGE GH¢ | LBC | Factory | Internal Waybill No. | Internal Waybill Date | Shed Waybill No. | Shed Waybill Date | Purity Date | Purity Number | Remarks | Other Remarks | Status | Vet | Validate | Certify | GH¢ WAGE |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index + 1 }}. | {{ strtoupper(optional($shed_gang_allocation->activity_summary)->activity_summary_ref) }} | {{ $shed_gang_allocation->activity->activity_name }} | {{ $shed_gang_allocation->shed->name }} | {{ $shed_gang_allocation->quantity_fulfiled }} | {{ Carbon::parse($shed_gang_allocation->gang_allocation->allocation_date)->format('dS M Y') }} | {{ $shed_gang_allocation->gang_rate }} | {{ $shed_gang_allocation->gang_wages }} | {{ optional(optional($shed_gang_allocation->internal_waybill)->lbc)->name }} | {{ optional(optional($shed_gang_allocation->shed_waybill)->consignee)->name }} | {{ optional($shed_gang_allocation->internal_waybill)->internal_waybill_no }} | {{ optional($shed_gang_allocation->internal_waybill)->internal_waybill_date }} | {{ optional($shed_gang_allocation->shed_waybill)->waybill_no }} | {{ optional($shed_gang_allocation->shed_waybill)->waybill_date }} | {{ optional($shed_gang_allocation->internal_waybill)->purity_date }} | {{ optional($shed_gang_allocation->internal_waybill)->purity_number }} | {{ strtoupper($shed_gang_allocation->remarks) }} | {{ strtoupper($shed_gang_allocation->other_remarks) }} | @can('audit_toc.user', Auth::user()) @if (!is_null($shed_gang_allocation->vet_status)) vetted @endif @elsecan('audit_toc.supervisor') @if (!is_null($shed_gang_allocation->vet_status)) validated @endif @elsecan('audit_toc.certifier') @if (!is_null($shed_gang_allocation->vet_status)) certified @endif @endcan | VET | VALIDATE | CERTIFY | {{ number_format($shed_gang_allocation->gang_wages, 2) }} |
TOTAL BAGS | {{ $shed_gang_allocations->sum('quantity_fulfiled') }} | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
TOTAL WAGES | TOTAL COST | 7% VAT (GH¢) | WITHHOLDING TAX (GH¢) | AMOUNT PAYABLE GH¢ | 15% VAT | |||||
GH¢ {{ number_format($shed_gang_allocations->sum('gang_wages'), 2) }} | GH¢ {{ number_format($cost_sheet->total_cost, 2) }} | GH¢ {{ number_format($accra_vat, 2) }} | GH¢ {{ number_format($withholding_tax, 2) }} | GH¢ {{ number_format($amt_payable_accra, 2) }} | GH¢ {{ number_format($cost_sheet->vat, 2) }} | |||||