{{-- @if($serverstatus)--}} @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('store_sale-read'))
@error('purchase_invoice_no') {{ $message }} @enderror
{{--
@if(sizeof($invoicedetailsarray)>0)

Invoice No : {{$invoicedetailsarray['saleInvoice_no']}}

Invoice Date : {{\Carbon\Carbon::parse($invoicedetailsarray['sale_invioce_date'])->format('d M, Y')}}

Store Name : {{$invoicedetailsarray['get_stores']['store_name']}}

Gross Amount : ₹{{$invoicedetailsarray['gross_amount']}}

Discount Amount : ₹{{$invoicedetailsarray['bill_discount_amount']}}

Tax Amount : ₹{{$invoicedetailsarray['tax_amount']}}

Net Amount : ₹{{$invoicedetailsarray['payable_amount']}}

@endif
--}}
@if(sizeof($invoicedetailsarray)>0) {{-- @foreach($invoicedetailsarray as $tabledata)--}} {{----}} {{-- @endforeach--}} @else @endif
Status Date Invoice No Customer Name Gross Amount Discount Amount Tax Amount Net Amount
@if($invoicedetailsarray['status']==0) Cancel @else @endif {{\Carbon\Carbon::parse($invoicedetailsarray['sale_invioce_date'])->format('d-M-Y')}} {{$invoicedetailsarray['saleInvoice_no']}}{{$invoicedetailsarray['get_stores']['store_name']}}{{$invoicedetailsarray['get_customers']['customer_name']}} {{$invoicedetailsarray['gross_amount']}} {{$invoicedetailsarray['bill_discount_amount']}} {{$invoicedetailsarray['tax_amount']}} {{$invoicedetailsarray['payable_amount']}}

No Data Available

{{-- {{$datatables->links('livewire.pagination-livewire')}}--}}
{{-- --}}
@else

Sorry !!! Unauthorized Access.

@endif {{-- @else

Sorry !!! Service Is Not Available.

@endif --}} @section('externaljs') @endsection