CIEF WORLDWIDE SDN BHD (1134596-M)
No. 72-3, Jalan Jalil 1,
The Earth Bukit Jalil,
57000 Kuala Lumpur
Tel: 03-8082 1252
SST No: W10-2403-32000643
Invoice
Invoice No: {{ $invoice_transaction->bill_no }}
@php $companyModule = $invoice_transaction->owner->owner->companyModule; @endphp
Date: {{ $invoice_transaction->created_at }}
Order No: {{ $invoice_transaction->owner->owner->reference }}
Container Ref: {{ $invoice_transaction->owner->containers()->first()->reference }}
{{--
{{ $companyModule->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference }}
--}}
 
Bill To
{{ $companyModule->name }}
@php $addresses = $companyModule->addresses()->where('status', '=', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED)->where('type', '=', \App\Classes\ValueObjects\Constants\AddressType::BILLING)->first(); @endphp @if($addresses) {{ $addresses->street_one }} {{ $addresses->street_two }} , {{ $addresses->district()->first()->name }}, {{ $addresses->postcode }} {{ $addresses->state()->first()->name }}, {{ $addresses->country()->first()->name }} @endif
@php $contact = $companyModule->contacts()->first(); @endphp Phone: {{ $contact ? $contact->phone : '' }}


@foreach ($invoice_transaction->transactionDetails as $key => $transaction_detail) @endforeach
No Description Qty Unit Price
(RM)
Tax (%) Tax Amount
(RM)
Sub Total
(RM)
{{ $key + 1 }} {!! $transaction_detail->name !!} {{ round($transaction_detail->quantity, 3) }} {{ round($transaction_detail->price, 2) }} {{ round($transaction_detail->tax_percentage, 2) }} {{ number_format(round($transaction_detail->tax_amount, 2), 2) }} {{ number_format(round($transaction_detail->amount, 2), 2) }}
Subtotal {{ number_format(round($invoice_transaction->amount - $invoice_transaction->tax, 2), 2) }}
Service Charges {{ number_format(round($invoice_transaction->service_charge, 2), 2) }}
Total SST (6%) RM {{ number_format($invoice_transaction->tax, 2) }}
Total Amount RM {{ number_format(round($invoice_transaction->amount, 2), 2) }}