@extends('layouts.master') @section('title', 'All Payments | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.all payments')) @section('css') @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.payments') }}
{{ __('basic.new') . ' ' . __('basic.' . $type_serc) }} {{ __('basic.print') }} {{ __('basic.search filter') }}
{{ __('basic.' . $type_serc) . ' ' . __('basic.payments')}}
{{ __('basic.from') }} {{ $date_from }} {{ __('basic.to') }} {{ $date_to }}
{{ __('basic.all payments') }}
@if ($type_serc === "income") @else @endif @php $total_balance = 0; @endphp @foreach ($account as $item) @endforeach
{{ __('basic.name') }} {{ __('basic.date') }} {{ __('basic.treasury') }}{{ __('basic.comes from') }}{{ __('basic.goes to') }}{{ __('basic.balance') }} {{ __('basic.status') }}
@if ($item->type == 0) @php $icon = "fas fa-plus"; $icon_color = "text-green"; @endphp @else @php $icon = "fas fa-minus"; $icon_color = "main-color"; @endphp @endif

{{ $item->code }}
{{ $item->receiver }}

{{ $type_serc }}

{{ $item->paid_date}} @if($item->type == 0) @else @endif @php $total_balance += $item->amount; @endphp
{{ $item->amount .' ' . $item->currency->code}}
{{ __('basic.total') }} {{ $total_balance }}
@endsection @section('js') {{-- data table --}} @endsection