@extends('layouts.default') @section('title', $customer_name->original['full_name']) @section('new_button') last_page {{ trans('customers.collection_center') }} view_list{{ trans_choice('general.customers', 1) . ' List'}} editEdit add{{ trans_choice('general.customers', 1)}} @endsection @section('content')

{{ trans('auth.profile') }}

Invoices {{ $counts['invoices'] }}

{{ trans_choice('general.transactions', 2) }}

@foreach($transactions as $item) @php $id = explode('-',$item['id']); @endphp @if($id[0] == 'i' && $item['status'] != 'paid') @elseif($id[0] == 'i' && $item['status'] == 'paid') @else @endif @endforeach
{{ trans('general.date') }} {{ trans('general.amount') }} {{ trans('general.type') }} {{ trans_choice('general.numbers',1) }} {{ trans_choice('general.status', 1) }} {{ trans_choice('general.actions', 1) }}
{{ isset($item['date'])?Date::parse($item['date'])->format($date_format):'' }} @money($item['amount'],'USD',true) {{ $item['type'] }} {{ $item['number'] }} {{ $item['status'] }} Print
@endsection