@extends('layouts.base') @section('content')

Pengurusan Jualan

Invois

{{ $sales->customer->company_name }}

Sila rujuk di bawah untuk butiran pembelian. Diminta untuk menghubungi saya sekiranya terdapat sebarang pertanyaan.

Tarikh Pesan:     {{ $sales->created_at->format('d-m-Y') }}

Status Pesan: Bayar

Pesan ID: #P00{{ $sales->index + 1 }}

Alamat Penjual
Wakallah Bin Wali
Lot 1092 Jalan Taman Bahagia,
45400 Sungai Ayer Tawar,
Selangor
P: (60) 123456789
Alamat Pembeli
@php $addressParts = explode(',', $sales->customer->address); @endphp
{{ $sales->customer->customer_name }}
@foreach ($addressParts as $index => $part) {{ trim($part) }}{{ $index < count($addressParts) - 1 ? ',' : '' }}
@endforeach P:{{ $sales->customer->phone_number }}
# Penerangan Kuantiti Harga Seunit Jumlah
1 Gred A
{{$sales->harvest->plantation->plantDetail->plant_type}}
{{$sales->grade_a_sale}} Biji RM {{$sales->price->grade_a_price}} RM {{$sales->total_sale_grade_a}}
2 Gred B
{{$sales->harvest->plantation->plantDetail->plant_type}}
{{$sales->grade_c_sale}} Biji RM {{$sales->price->grade_b_price}} RM {{$sales->total_sale_grade_b}}
3 Gred C
{{$sales->harvest->plantation->plantDetail->plant_type}}
{{$sales->grade_c_sale}} Biji RM {{$sales->price->grade_c_price}} RM {{$sales->total_sale_grade_c}}
Nota:
Sila pastikan nombor pesanan belian (PO) disertakan pada invois.

RM{{$sales->total_sale}}

@endsection