@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.name') }} | {{ __('basic.date') }} | {{ __('basic.treasury') }} | @if ($type_serc === "income"){{ __('basic.comes from') }} | @else{{ __('basic.goes to') }} | @endif{{ __('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}} |
{{ $item->treasury->name }}
|
@if($item->type == 0)
{{ $item->debit_acc->name }}
@else
{{ $item->debit_acc->name }}
@endif
|
@php
$total_balance += $item->amount;
@endphp
{{ $item->amount .' ' . $item->currency->code}} |
||
| {{ __('basic.total') }} | {{ $total_balance }} |