@php $diamondWeight = '-'; $goldWeight = '-'; foreach ($issue_item as $item) { if (strtolower($item->item_type) == 'diamond') { $diamondWeight = $item->gross_weight . ' CT'; } else { $goldWeight = $item->gross_weight . ' GM'; } } @endphp
Star Export
PO 43
DATE {{ \Carbon\Carbon::parse($issue_detail->issue_return_date)->format('d-m-Y') }}
JEWEL TYPE {{ $item_detail->item_name }}
DESCRIPTION White Prongs With Bombay Screw
DIAMOND WEIGHT {{ $diamondWeight }}
GOLD WEIGHT {{ $goldWeight }}
EXPECTED DATE {{ \Carbon\Carbon::parse($issue_detail->expected_date)->format('d-m-Y') }}
image