{{ __('Punch Work Order') }}

  1. Dashboard
  2. Work Orders
  3. {{ __('Punch Work Order') }}
@csrf
Basic Details
@if($purchase_order->quotation)
@endif
@error('wo_date')

{{ $message }}

@enderror
@error('deadline_date')

{{ $message }}

@enderror
Product Details
@foreach($purchase_order->purchase_order_product as $index => $purchase_order_product) @endforeach
Product Name: {{ $purchase_order_product->product->product_name }}
Product Code: {{ $purchase_order_product->product->product_code }}
@error('marking_instructions.' . $index)

{{ $message }}

@enderror
@error('marking_instruction_remarks.' . $index)

{{ $message }}

@enderror
@foreach($purchase_order_product->purchase_order_product_size as $size) @endforeach
Size Qty Qty Details
{{ $size->productSize->ringSize->ring_size }} {{ $size->qty }} {{ $size->unit->name }} @forelse($size->productSize->bom as $bom) @forelse($bom->items as $bom_item) @php $required_qty = $bom_item->quantity * $size->qty; $available_qty = 0; if(isset($bom_item->productSize->stocks) && count($bom_item->productSize->stocks) > 0) { $available_qty = round($bom_item->productSize->stocks[0]->quantity); } $not_available_qty = 0; if($required_qty > $available_qty){ $not_available_qty = $required_qty - $available_qty; } @endphp @empty @endforelse @empty @endforelse
Product Size Required Qty Available Qty Not Available Qty
{{ $bom_item->product->product_name }} {{ (isset($bom_item->productSize->ringSize)) ? $bom_item->productSize->ringSize->ring_size : '' }} {{ ($required_qty) }} {{ (isset($bom_item->productSize)) ? $bom_item->productSize->unit->name : '' }} {{ $available_qty }} {{ (isset($bom_item->productSize)) ? $bom_item->productSize->unit->name : '' }} {{ $not_available_qty }} {{ (isset($bom_item->productSize)) ? $bom_item->productSize->unit->name : '' }}
No data found.
No data found.
{{ __('Cancel') }}
@push('script') @endpush