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

Rekod Jualan

RM {{ number_format($totalSales, 2) }}

Jumlah Jualan

RM {{ number_format($totalSalesGradeA, 2) }}

Gred A

RM {{ number_format($totalSalesGradeB, 2) }}

Gred B

RM {{ number_format($totalSalesGradeC, 2) }}

Gred C

Jualan Tahunan

Gred Jualan

Laporan Jualan

+Tambah Jualan

@foreach ($sales as $sale) @endforeach
Bil. Tarikh Pembelian Jenis Pokok Pembeli Jumlah Jual Tindakan
{{ $loop->index + 1 }} {{ $sale->created_at->format('d-m-Y') }} {{ $sale->harvest->plantation->plantDetail->plant_type }} {{ $sale->customer->company_name }} RM {{ $sale->total_sale }} {{-- --}}
@endsection