8889841chome/clixcotz/fmi.clix.co.tz/resources/views/backend/customer_index.blade.php 0000644 00000144524 15053661031 0023457 0 ustar 00 @extends('backend.layout.main') @section('content') @if(session()->has('not_permitted'))
{{trans('file.date')}} | {{trans('file.reference')}} | {{trans('file.Biller')}} | {{trans('file.Warehouse')}} | {{trans('file.Sale Status')}} | {{trans('file.Payment Status')}} | {{trans('file.grand total')}} | {{trans('file.Paid')}} | {{trans('file.Due')}} | {{trans('file.action')}} | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$key}} | {{ date($general_setting->date_format, strtotime($sale->created_at->toDateString())) }} | {{$sale->reference_no}} | {{$sale->biller->name}} | {{$sale->warehouse->name}} | @if($sale->sale_status == 1){{$status}} |
@elseif($sale->sale_status == 2)
{{$status}} |
@else
{{$status}} |
@endif
@if($sale->payment_status == 1)
{{trans('file.Pending')}} |
@elseif($sale->payment_status == 2)
{{trans('file.Due')}} |
@elseif($sale->payment_status == 3)
{{trans('file.Partial')}} |
@else
{{trans('file.Paid')}} |
@endif
{{number_format($sale->grand_total, 2)}} | {{number_format($sale->paid_amount, 2)}} | {{number_format($sale->grand_total - $sale->paid_amount, 2)}} | |
Total: | {{number_format(0, $general_setting->decimal, '.', '')}} | {{number_format(0, $general_setting->decimal, '.', '')}} | {{number_format(0, $general_setting->decimal, '.', '')}} |
{{trans('file.Date')}} | {{trans('file.Payment Reference')}} | {{trans('file.Sale Reference')}} | {{trans('file.Amount')}} | {{trans('file.Paid Method')}} | |
---|---|---|---|---|---|
{{$key}} | {{date($general_setting->date_format, strtotime($payment->created_at))}} | {{$payment->payment_reference}} | {{$payment->sale_reference}} | {{$payment->amount}} | {{$payment->paying_method}} |
Total: | {{number_format(0, $general_setting->decimal, '.', '')}} |
{{trans('file.Date')}} | {{trans('file.reference')}} | {{trans('file.Biller')}} | {{trans('file.customer')}} | {{trans('file.Supplier')}} | {{trans('file.Quotation Status')}} | {{trans('file.grand total')}} | {{trans('file.action')}} | |||
---|---|---|---|---|---|---|---|---|---|---|
{{$key}} | {{ date($general_setting->date_format, strtotime($quotation->created_at->toDateString())) . ' '. $quotation->created_at->toTimeString() }} | {{ $quotation->reference_no }} | {{ $quotation->biller->name }} | {{ $quotation->customer->name }} | @if($quotation->supplier_id){{ $quotation->supplier->name }} | @elseN/A | @endif @if($quotation->quotation_status == 1){{$status}} |
@else
{{$status}} |
@endif
{{ $quotation->grand_total }} | {{trans('file.Total')}} |
{{trans('file.Date')}} | {{trans('file.reference')}} | {{trans('file.Biller')}} | {{trans('file.customer')}} | {{trans('file.Warehouse')}} | {{trans('file.grand total')}} | {{trans('file.action')}} | |
---|---|---|---|---|---|---|---|
{{$key}} | {{ date($general_setting->date_format, strtotime($return->created_at->toDateString())) . ' '. $return->created_at->toTimeString() }} | {{ $return->reference_no }} | {{ $return->biller->name }} | {{ $return->customer->name }} | {{$return->warehouse->name}} | {{ $return->grand_total }} | {{trans('file.Total')}} |