@extends('picking.head') @section('content')

Available Orders

@if(count($available_orders) > 0)
@php $branch_id = Auth::user()->branch->id; @endphp
@foreach ($available_orders as $available_order)
id}}>
Order {{$available_order['code']}}
{{ date("Y/m/d H:i:s", strtotime($available_order->creation_date)) }}
{{ strtoupper($available_order->BoShippingType->name) }}    @if ($available_order->isDeliveryNoScheduled()) @endif
Customer: {{ $available_order->client->first_name }} ({{ $available_order->client->document }})
Address: {{ $available_order->address?->direction }}
@if ($available_order->instructions)

Pick & Pack notes:

{{ str_limit($available_order->instructions, $limit = 40, $end = '...') }}

@endif
@endforeach
@else @endif @endsection