{{-- Danh sách thu chi (nạp lại bằng AJAX khi submit #gridForm / bấm phân trang). Style bảng dùng chung: .crm-list-table (public/css/crm-2026/components.css). Giữ hook JS: #registration-form (layout/_script.blade.php thay nội dung khi submit #gridForm), công tắc duyệt .change_status[data-id], a.page-link (index), nút xoá .delete[data-url]. --}}
{{-- Dòng tổng tiền (dính dưới header, xem style .tr-n ở index) --}} @if(count($docs)) @foreach($docs as $k => $s) {{-- STT liên tục theo trang (trang 2 bắt đầu từ 21 ...) --}} @endforeach @else @endif
STT Đề xuất Lý do Số tiền Người duyệt Loại Ghi chú Trạng thái Chi nhánh Thao tác
Tổng: {{number_format($allPrice)}}
{{ $docs->firstItem() + $k }} {{@$s->thucHien->full_name}}
( {{date("d-m-Y", strtotime($s->created_at))}} )
{{@$s->lyDoThuChi->name}} {{number_format($s->so_tien)}} {{@$s->duyet->full_name}} {{$s->type == 0?'Tiền mặt' : 'Chuyển khoản'}} {{str_limit($s->note,70)}} {{@$s->branch->name}}
Không tồn tại dữ liệu