{{ __('Add Invoice') }}

  1. {{ __('Dashboard') }}
  2. {{ __('Invoice') }}
  3. {{ __('Add Invoice') }}
@csrf
{{ __('Company Details') }}
@error('customer_id')

{{ $message }}

@enderror
@error('authorised_person_name')

{{ $message }}

@enderror
@error('person_no')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('gst_no')

{{ $message }}

@enderror
@error('invoice_no')

{{ $message }}

@enderror
@error('invoice_date')

{{ $message }}

@enderror
{{ __('Product Details') }}
@if($purchaseorder->purchase_order_product) @foreach($purchaseorder->purchase_order_product as $qpkey => $qpvalue) @if($qpvalue->purchase_order_product_size->isNotEmpty()) @endif @endforeach @endif @php $isSez = $purchaseorder->customer->is_sez == 0 ? 0 : 1; $gst = $purchaseorder->customer->is_sez == 0 && ($purchaseorder->customer->state_id == getSettingData('config_state_id') ?? 0) ? 1 : 0; @endphp {{-- @if($purchaseorder->customer->is_sez == 0) @if($purchaseorder->customer->state_id == getSettingData('config_state_id') ?? 0 ) --}} {{-- @else --}} {{-- @endif @endif --}}
{{ __('Product Category') }} {{ __('Product Name') }} {{ __('Product Code') }} {{ __('HSN Code') }} {{ __('GST (%)') }} {{ __('Amount') }}
@php $productdata = getProductListByCategoryId($qpvalue->category_id, $qpvalue->product_id); @endphp

{{ $qpvalue->product_code }}

{{ $qpvalue->hsn_code }}

@php $isSameState = $purchaseorder->customer->state->id == getSettingData('config_state_id'); if((int) $qpvalue->cgst_per === 0 && (int) $qpvalue->igst_per > 0){ $qpvalue->cgst_per = $qpvalue->sgst_per = $qpvalue->igst_per/2; } if((int) $qpvalue->igst_per === 0 && (int) $qpvalue->cgst_per > 0){ $qpvalue->igst_per = $qpvalue->cgst_per * 2; } @endphp

{{ $qpvalue->cgst_per }}

%(CGST)

{{ $qpvalue->sgst_per ?? 0.00 }}

%(SGST)

{{ $qpvalue->igst_per ?? 0.00 }}

%(IGST)
@foreach($qpvalue->purchase_order_product_size as $qpskey => $qpsvalue) @endforeach
{{ ('Size') }} {{ ('Qty') }} {{ ('Price') }} {{ ('Unit') }} {{ ('Disc (%)') }} {{ ('Disc. Amt.') }} {{ __('Total') }}
{{ __('Sub Total') }}
is_apply_extra_charge ?? false) ? 'checked' : '' }} class="inline-block bg-gray-100 h-[25px] w-[25px] px-3 py-2 border-[#dadada] dark:border-gray-700 rounded-[10px] focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:bg-gray-700 dark:text-gray-300 dark:focus:ring-indigo-500 text-[14px] jsIsApplyExtraCharge">
@php $display = 'none'; if($purchaseorder->is_apply_extra_charge == 1) { $display = 'block'; } @endphp
@if($purchaseorder->extra_charges) @foreach(json_decode($purchaseorder->extra_charges, true) as $exkey => $exvalue) @endforeach @endif
{{ __('Title') }} {{ __('Charges') }} {{ __('Action') }}
{{ __('Add Extra Charges') }}
{{ __('CGST') }}
{{ __('SGST') }}
{{ __('IGST') }}
{{ __('Grand Total') }}
{{ __('Terms & Conditions') }}
@php $tc_input = old('terms_and_conditions', $purchaseorder->terms_and_conditions ?? '[]'); $tc_array = is_string($tc_input) ? json_decode($tc_input, true) : $tc_input; $selected_tc_ids = collect($tc_array) ->pluck('id') ->map(fn($id) => (string) $id) ->toArray(); @endphp @forelse($terms_and_conditions_list as $tckey => $tcvalue) @empty @endforelse

{{ __('No Terms and Conditions') }}

{{ __('Cancel') }}
@include('quotations.partials.add_new_ring_size') @push('script') @endpush