@php /** * @name Pagina lista ordini * @version 1.0.0 */ @endphp @extends('app') @section('content') @php $change_status = call_setting('app.modules.customers.change'); @endphp
@do_action('search_filters_active')
@if(is_customer() && $change_status)
@endif
{{ __t('Data') }}
{{ __t('Codice') }}
@if (is_agent())
{{ __t('Cliente') }}
@endif
{{ get_default_um_description() }}
{{ __t('Totale') }}
@if (empty($orders))
{{ __t('Nessun ordine trovato') }}
@else @foreach ($orders as $order)
@if(is_customer() && $change_status)
@if ($order->is_mode('change') || $order->is_mode('restock')) @endif @if ($order->is_mode('return')) @endif
@endif
{!! $order->get_order_status_html() !!}
{{ __t('Data:') }}{{ $order->get_date_formatted() }}
{{ __t('Codice:') }}{{ $order->get_sku() }}
@if (is_agent()) @php $customer = $order->get_customer(); @endphp
{{ __t('Cliente:') }}{{ $customer->get_company_name() }}
@endif
{{ get_default_um_description(true) }}{{ $order->get_quantity() }}
{{ __t('Totale:') }}{!! $order->get_amount_html() !!}
@endforeach @endif
@endsection