{{-- 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; } foreach ($items['payment_item'] as $key => $value) { $term = $value['term']; } $print_count = 0; if(request()->get('office') == 1 && request()->get('client') == 1) { $print_count = 2; } @endphp @if($print_count == 2) @endif