@csrf
Tổng thành tiền trạm {{$ma_tram}}: {{ number_format($totalThanhTien, 3) }}
@php $index = 1; @endphp @foreach ($pagedData as $row) {{-- --}} @endforeach
Số thứ tự Ngày Hạng mục Đơn giá Số lượng Trạng thái Thành tiền
{{ $index++ }}{{ Carbon::createFromFormat('dmY', $row->SanLuong_Ngay)->format('d-m-Y') }}{{ $row->SanLuong_Ngay }} {{ $row->SanLuong_TenHangMuc }} {{ number_format($row->SanLuong_Gia, 3) }} {{ $row->SoLuong }} {{ $row->TrangThai }} {{ number_format($row->SanLuong_Gia * $row->SoLuong, 3) }}