{{-- resources/views/admin/sales_invoices/index.blade.php --}} @extends('admin.layouts.master') @section('title', 'فواتير المبيعات') @section('css') {{-- DataTables Bootstrap 5 --}} {{-- Select2 --}} @endsection @section('content') {{-- Header --}}

فواتير المبيعات

إدارة فواتير المبيعات + البحث والتصفية + إجراءات (ترحيل/إلغاء/حذف)
{{-- Filters --}}
{{-- ✅ Customer AJAX Select2 --}}
@include('admin.Alerts') {{-- Table --}}
{!! $dataTable->table([ 'id' => 'sales-invoices-table', 'class' => 'table table-striped table-row-bordered gy-5 gs-7 text-end w-100' ], true) !!}
@endsection @section('js') {{-- لو jQuery محمّل في master احذف السطر ده --}} {{-- DataTables --}} {{-- Select2 --}} {!! $dataTable->scripts() !!} {{-- Actions: Post / Cancel --}} {{-- Filters -> redraw datatable --}} @endsection