@extends('layouts.master') @section('css') @endsection @section('title') {{ __('home.Supplier_debt_restructuring') }} @stop @section('page-header')
@endsection @section('content')

{{ Namear ?? '' }}

{{ describtionar ?? '' }}

{{ STar ?? '' }}

{{ Taxar ?? '' }}

@php $logo = camplogo ?? ''; @endphp

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

{{ Nameen ?? '' }}

{{ describtionen ?? '' }}

{{ STen ?? '' }}

{{ Taxen ?? '' }}

@php $currentdata = \Carbon\Carbon::now()->addHours(3)->format("Y-m-d H:i:s"); @endphp

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

{{ __('home.exportTime') }}: {{ $currentdata }}
@php $i = 0; $sum_0_10 = 0; $sum_11_30 = 0; $sum_31_60 = 0; $sum_61_90 = 0; $sum_91_120 = 0; $sum_121_180 = 0; $sum_gt_180 = 0; $sum_total = 0; @endphp @forelse ($data as $item) @php $i++; $rowTotal = (float)($item['f_0_t_10'] ?? 0) + (float)($item['f_11_t_30'] ?? 0) + (float)($item['f_31_t_60'] ?? 0) + (float)($item['f_61_t_90'] ?? 0) + (float)($item['f_91_t_120'] ?? 0) + (float)($item['f_121_t_180'] ?? 0) + (float)($item['f_181_t_00'] ?? 0); $sum_0_10 += (float)($item['f_0_t_10'] ?? 0); $sum_11_30 += (float)($item['f_11_t_30'] ?? 0); $sum_31_60 += (float)($item['f_31_t_60'] ?? 0); $sum_61_90 += (float)($item['f_61_t_90'] ?? 0); $sum_91_120 += (float)($item['f_91_t_120'] ?? 0); $sum_121_180 += (float)($item['f_121_t_180'] ?? 0); $sum_gt_180 += (float)($item['f_181_t_00'] ?? 0); $sum_total += $rowTotal; @endphp @empty @endforelse @if(isset($data) && count($data) > 0) @endif
# اسم المورد
Supplier Name
اخر سداد
Last payment
الرصيد
Balance
عمر الدين
Credit Life
0 : 10 11 : 30 31 : 60 61 : 90 91 : 120 121 : 180 اكبر من 180
> 180
الاجمالي
Total
{{ $i }} {{ $item['name'] ?? '' }} {{ $item['lastdate'] ?? '-' }} {{ number_format((float)($item['crrunt_balence'] ?? 0), 2) }} {{ $item['life_creadit'] ?? '-' }} {{ number_format((float)($item['f_0_t_10'] ?? 0), 2) }} {{ number_format((float)($item['f_11_t_30'] ?? 0), 2) }} {{ number_format((float)($item['f_31_t_60'] ?? 0), 2) }} {{ number_format((float)($item['f_61_t_90'] ?? 0), 2) }} {{ number_format((float)($item['f_91_t_120'] ?? 0), 2) }} {{ number_format((float)($item['f_121_t_180'] ?? 0), 2) }} {{ number_format((float)($item['f_181_t_00'] ?? 0), 2) }} {{ number_format($rowTotal, 2) }}
لا توجد بيانات متاحة لعرضها
{{ __('home.total') }} : {{ number_format($sum_0_10, 2) }} {{ number_format($sum_11_30, 2) }} {{ number_format($sum_31_60, 2) }} {{ number_format($sum_61_90, 2) }} {{ number_format($sum_91_120, 2) }} {{ number_format($sum_121_180, 2) }} {{ number_format($sum_gt_180, 2) }} {{ number_format($sum_total, 2) }}
@endsection @section('js') @endsection