@extends('layouts.master') @section('css') @section('title') {{ __('home.Customer account_statement') }} @endsection @section('page-header')
@endsection @section('content') @if (count($errors) > 0)
خطا
@endif
{{ csrf_field() }}

{{ __('home.searchbyclientname') }}

{{ __('home.paymentmethod') }}


@if (isset($Invoices))
@foreach ($Invoices as $invoice) {{--
{{ __('report.invoiceNo') }} : {{ $invoice->id }}
{{ __('report.reciver_name') }} : {{ $invoice->user->name }}
{{ __('home.paymentmethod') }} : @if ($invoice->pay_method == 'Cash') {{ __('report.cash') }} @elseif ($invoice->pay_method == 'Bank_transfer') {{ __('home.Bank_transfer') }} @else {{ __('report.shabka') }} @endif
--}}
{{ __('report.invoiceNo') }} {{ $invoice->id }} {{ __('report.reciver_name') }} {{ $invoice->user->name }} {{ __('home.notesClient') }} {{$invoice->note }}
{{ __('home.date') }} {{ __('home.clientname') }} {{ __('accountes.limitCredit') }} {{ __('accountes.cashreceived') }} {{ __('accountes.Remainingamount') }} {{ __('home.paymentmethod') }}
{{ $date[0] }} {{ $invoice->customer->name }} {{ $invoice->customer->Limit_credit }} {{ $invoice->recive_amount }} {{ $invoice->currentblance }} @if ($invoice->pay_method == 'Cash') {{ __('report.cash') }} @elseif ($invoice->pay_method == 'Bank_transfer') {{ __('home.Bank_transfer') }} @else {{ __('report.shabka') }} @endif


@endforeach

{{ __('report.totalprice') }} {{ __('home.the amount') }}
1 {{ __('home.total') }} {{ $totalprice }}

@if($startat!=null) @endif
@endif
@endsection @section('js') @endsection