@extends ('core.layouts.app') @section ('title', trans('labels.backend.purchaseorders.management')) @section('page-header')

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

@endsection @section('content')

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

@include('focus.purchaseorders.partials.purchaseorders-header-buttons')
@if($segment) @php $total=$segment->invoices->sum('total'); $paid=$segment->invoices->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('purchaseorders.purchaseorder')}} #{{prefix(9)}} {{ trans('suppliers.supplier') }} {{ trans('purchaseorders.invoicedate') }} {{ trans('general.amount') }} {{ trans('general.status') }} {{ trans('labels.general.actions') }}
@endsection @section('after-scripts') {{-- For DataTables --}} {{ Html::script(mix('js/dataTable.js')) }} @endsection