{{-- @if($serverstatus) --}} @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('store_purchase-read')) {{--Permissions--}}
@error('purchase_invoice_no') {{ $message }} @enderror
@if($purchase_invoice_no) Add / Modify Items @endif
@if(sizeof($invoicedetailsarray)>0)

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

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

Supplier Name : {{$invoicedetailsarray['supplier_name']}}

GST Type : {{$invoicedetailsarray['gst_type']}}

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

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

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

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

@endif
{{-- --}} @if(sizeof($datatables)>0) @foreach($datatables as $tabledata) {{-- --}} @endforeach @else @endif
Actions Status Item Qty MRPPTRPTR Total Amount Discount Rate Discount Amount GST Rate IGST Rate Tax Amount Net Amount Barcode
@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('store_purchase-update')) @endif @if($tabledata['status']) Active @else Inactive @endif {{$tabledata['item_info']['item_name']}} {{$tabledata['quantity']}} ₹{{$tabledata['purchase_mrp']}}₹{{$tabledata['ptr_amount']}}₹{{$tabledata['unit_price']}} ₹{{$tabledata['total_amount']}} {{$tabledata['discount_rate']}} ₹{{$tabledata['discount_amount']}} {{$tabledata['cgst_rate'] + $tabledata['sgst_rate']}} @if($tabledata['igst_rate']) {{$tabledata['igst_rate']}} @else ₹0.00 @endif @if($tabledata['igst_amount'] != "0.00") ₹{{$tabledata['igst_amount']}} @else ₹{{$tabledata['gst_amount']}} @endif ₹{{$tabledata['net_amount']}} {{$tabledata['bar_code']}}

No Data Available

@if(sizeof($datatables)>0) {{$datatables->links('livewire.pagination-livewire')}} @endif
{{----}} {{-- --}}
@else

Sorry !!! Unauthorized Access.

@endif {{-- @else

Sorry !!! Service Is Not Available.

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