E.T.S. J.I. Transport and Management Services
RCCM: CD/LSH/RCCM/20-A-00132, ID Nat.: 6-71-N5911T
Address: 102, Av. Kasai, Q/Makutano, Lubumbashi
Email: info@jtm-s.com, Website: www.jtm-s.com
Tel: +243 814581487, 0811164042
{{ date('Y-m-d') }}
{{ __('common.name') }}: {{ $result[0]['client_name'] ?? '' }}
{{ __('common.customer_code') }}: {{ $result[0]['customer_code'] ?? '' }}
{{ __('common.phone') }}: {{ $result[0]['dial_code'] ?? '' }}
{{ $result[0]['client_phone'] ?? '' }}
{{ __('common.email') }}: {{ $result[0]['client_email'] ?? '' }}
@if (!empty($invoiceData))
@if ($invoiceData->wallet_balance_used != 0 || $invoiceData->amount_added != 0)
{{ __('common.payment_mode') }}:
{{-- {{ $invoiceData->amount_added_type ?? __('common.not_define') }} --}}
{{ __('common.used_from_wallet') }} : {{ '$'.$invoiceData->wallet_balance_used }}
@if ($invoiceData->amount_added != 0)
{{ $invoiceData->amount_added_type ?? __('common.not_define') }} : {{ '$'.$invoiceData->amount_added }}
@endif
@endif
@endif
{{ __('common.bill_receipt')}}
| Sr No |
{{ __('common.order_number') }} |
{{ __('common.china_code') }} |
{{ __('common.price') }} |
{{ __('common.client_code') }} |
{{ __('common.weight_kg') }} |
@php
$i = 1;
$totalPrice = 0;
$totalWeight = 0;
@endphp
@foreach ($result as $row)
| {{ $i ?? '' }} |
{{ '#' . $row->id ?? '' }} |
{{ $row->china_code ?? '' }} |
{{ '$' . $row->client_price }} |
{{ $row->client_code ?? '' }} |
{{ $row->weight_kg ?? '' }} |
@php
$i = $i + 1;
$totalPrice += $row->client_price;
$totalWeight += $row->weight_kg;
$discount = 0;
if($row->discount_applied == 'yes'){
$discount = $row->discount_value;
}
@endphp
@endforeach
|
|
|
|
{{ __('common.total_weight') }} |
{{ $totalWeight }} |
@if ($discount != 0)
{{-- @php
dumper(78685);
@endphp --}}
|
|
|
|
{{ __('common.discount') }} |
{{ '$'. $discount }} |
@endif
|
|
|
|
{{ __('common.total_price') }} |
{{-- {{ '$' . ($totalPrice - $discount) }} | --}}
{{ '$' . ($totalPrice - $discount) }} |
{{__('common.thank_you_for_your_trust')}}
@endif