@extends('layouts.masterHome2')
@section('content')
@php
$time = date("G");
@endphp
@if( $show_button == "yes" )
بدأ اليوم
@else
📋 الفواتير اليومية
{{count($invoices)}}
| التاريخ |
رقم الفاتورة |
العميل |
الخصم |
أجمالي السعر |
الحالة |
تفاصيل |
@foreach( $invoices as $invoice )
| {{$invoice->created_at}} |
#{{$invoice->id}} |
{{$invoice->client->name}} |
{{$invoice->discount}} |
{{$invoice->total_price}} |
@if ($invoice->confirmed == "confirmed")
✔
@elseif ( $invoice->confirmed == NULL )
@else
@endif
|
Details
|
@endforeach
📋
شيكات مستحقة الدفع /التحصيل
{{count($cheques)}}
| السريال |
تاريخ نشأة الشيك |
العميل |
نوع الشيك |
الرقم |
مسحوب علي |
تاريخ استحقاق الدفع |
المبلغ |
الحالة |
@foreach( $cheques as $cheque )
| {{$cheque->id}} |
{{$cheque->created_at}} |
@if($cheque->client_id)
{{$cheque->client->name}} |
@elseif ( $cheque->payment_voucher_id && $cheque->payment_voucher->budget_id )
{{ $cheque->payment_voucher->budget->name}} |
@elseif ( $cheque->payment_voucher_id && $cheque->payment_voucher->employee_id)
{{ $cheque->payment_voucher->employee->name }} |
@elseif ( $cheque->payment_voucher_id && $cheque->payment_voucher->car_id)
{{ $cheque->payment_voucher->car_expense->name }} |
@elseif ($cheque->payment_voucher_id && $cheque->payment_voucher->general_name )
{{ $cheque->payment_voucher->general_name }} |
@elseif (!$cheque->client_id )
{{ $cheque->general_name }}
|
@else
|
@endif
@if($cheque->invoice_id)
# {{$cheque->invoice_id}} فاتورة
@elseif( $cheque->payment_voucher_id )
{{ $cheque->payment_voucher->type}}
@else( $cheque->client_id && ! $cheque->invoice_id )
سند قبض عام
@endif
|
#{{$cheque->serial}}
|
{{$cheque->bank->name }} |
{{$cheque->date}} |
{{$cheque->pay}} |
@if($cheque->status == Null)
Waiting...
@elseif( $cheque->status == "Accepted" )
تم الصرف
@else( $cheque->status == "Rejected" )
تم الرفض
@endif
|
@endforeach
📋
سندات القبض اليومية
{{count($receipts)}}
| السريال |
تاريخ نشأة السند |
العميل |
الفاتورة |
المبلغ |
ايداعات/شيكات |
الحسابات الاخري |
التبويب |
نظير |
ملاحظات |
- |
@foreach( $receipts as $receipt )
|
{{$receipt->id}}
|
{{$receipt->created_at}} |
{{$receipt->client_id ? $receipt->client->name:'تغذية خزنة /'}}
{{$receipt->general_name}}
|
{{$receipt->invoice_id ? "#". $receipt->invoice_id:""}}
|
{{$receipt->pay}} |
{{$receipt->cheque_id ? "#".$receipt->cheque_id:"" }}
|
{{$receipt->safe_account ? $receipt->safe_account->payment_method->name ." -- ".$receipt->safe_account->branch->name :""}} |
{{ $receipt->tab_id ? $receipt->tab->name : '' }}
|
{{$receipt->note1}} |
{{$receipt->note2}} |
|
@endforeach
📋
سندات الصرف اليومية
{{ count($payment_vouchers) }}
| السريال |
تاريخ نشأة السند |
النوع |
المبلغ |
ايداعات/شيكات |
الحساب |
مصروف لـ |
التبويب |
نظير |
ملاحظات |
Approved by |
- |
@foreach( $payment_vouchers as $voucher )
|
{{$voucher->id}}
|
{{$voucher->created_at}} |
{{$voucher->type}} |
{{$voucher->pay}} |
{{$voucher->cheque_id ? "#".$voucher->cheque_id:"" }}
|
{{$voucher->safe_account ? $voucher->safe_account->payment_method->name ." -- ".$voucher->safe_account->branch->name :""}} |
@if($voucher->type == 'سند صرف عام')
{{$voucher->general_name}} |
@elseif ($voucher->type == 'سند صرف موظفين')
{{$voucher->employee->name}} |
@elseif ($voucher->type == 'سند صرف ميزانية')
{{$voucher->general_name}} |
@elseif ($voucher->type == 'سند صرف سيارات')
{{$voucher->general_name}} |
@elseif ($voucher->type == 'سند صرف عهدة غير مربوطة بمبلغ')
{{$voucher->general_name}} |
@elseif ($voucher->type == 'سند صرف عهدة مربوطة بمبلغ')
{{$voucher->general_name}} |
@endif
{{ $voucher->tab_id ? $voucher->tab->name : '' }}
|
@if($voucher->type == 'سند صرف عام')
{{$voucher->note1}} |
@elseif ($voucher->type == 'سند صرف موظفين')
{{$voucher->note1}} |
@elseif ($voucher->type == 'سند صرف ميزانية')
{{$voucher->budget->name}} |
@elseif ($voucher->type == 'سند صرف سيارات')
{{$voucher->car->num}} |
@elseif ($voucher->type == 'سند صرف عهدة غير مربوطة بمبلغ')
{{$voucher->trust->name}} |
@elseif ($voucher->type == 'سند صرف عهدة مربوطة بمبلغ')
{{$voucher->trust->name}} |
@endif
{{$voucher->note2}} |
✔ {{$voucher->admin->name}}
|
@if ( $voucher->approve == "Approved" || $voucher->approve == "Rejected" )
@endif
|
@endforeach
@endif
@endsection