@extends ('core.layouts.app') @section ('title', $words['title']) @section('page-header')

{{ trans('labels.backend.orders.management') }}

@endsection @section('content')

{{ $words['title'] }}

@include('focus.orders.partials.orders-header-buttons',$words)
@if($segment) @php $total=$segment->orders->sum('total'); $paid=$segment->orders->sum('pamnt'); $due=$total-$paid; @endphp

{{$words['name']}}

{{$words['name_data']}}

{{trans('customers.email')}}

{{$segment->email}}

{{trans('general.total_amount')}}

{{amountFormat($total)}}

{{trans('payments.paid_amount')}}

{{amountFormat($paid)}}

{{trans('general.balance_due')}}

{{amountFormat($due)}}

@endif
{{ trans('general.search_date')}}

# {{ trans('orders.order')}} #{{$words['prefix']}} {{$words['person']}} {{ trans('orders.invoicedate') }} {{ trans('general.amount') }} {{ trans('general.status') }} {{ trans('labels.general.actions') }}
@endsection @section('after-scripts') {{-- For DataTables --}} {{ Html::script(mix('js/dataTable.js')) }} @endsection