{{-- Office Copy --}} @php foreach($items['sell']->customer->customerDetail as $customer_detail) { // dd($customer_detail); $name.="/ ".$customer_detail->name; $f_name.="/ ".$customer_detail->father_name; $c_id.="/ ".$customer_detail->nic; } if(!empty($items['item']->references)) { $references = []; foreach($items['item']->references as $reference) { $references[] =$reference->reference; } $references = implode(', ',$references); } @endphp @if (request()->get('office') == '1' && empty(request()->get('client')) || request()->get('client') == '1' && empty(request()->get('office')) || request()->get('client') == '1' && request()->get('office') == '1')