@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('parent.showChildrens'), 'name' => 'الابناء'],['link' => route('parent.contractTransaction',["student_id" => $contract->student_id, "contract_id" => $contract->id]), 'name' => $contract->student_name],['link' => route('parent.contractTransaction',["student_id" => $contract->student_id, "contract_id" => $contract->id]), 'name' => 'تعاقد '.$contract->year_name]],['title'=> 'دفعات التعاقد رقم #'. $contract->id]]; @endphp @section('title', 'دفعات التعاقد رقم #'. $contract->id) @section('page-style') @endsection @section('content')

دفعات

الاجمالي {{$contract->total_fees}} ر.س

دفعات

عدد الدفعات اللازمه..{{count($transactions)}}

@foreach($transactions as $key => $transaction) @endforeach
القسط الاساسي الضرائب خ.فترة خ.قسيمة الأجمالي المدفوع المتبقي تاريخ الدفع
@if(!$transaction->payment_status && !in_array($transaction->transactionable->status,[\App\Models\Contract::FINISHED,\App\Models\Contract::CANCELLED])) id }}" href="{{ route('parent.showTransactionPaymentAttempt',$transaction->id) }}">ادفع @endif {{-- @if(!$transaction->payment_status)--}} {{-- --}} {{-- @endif--}} {{ $transaction->installment_name }} {{ round($transaction->amount_before_discount, 2) }} ر.س {{ round($transaction->vat_amount,2) }} {{ round($transaction->period_discount,2) }} {{ round($transaction->coupon_discount,2) }} {{ round($transaction->amount_after_discount + $transaction->vat_amount, 2) }} ر.س {{ round($transaction->paid_amount, 2) }} ر.س {{ round($transaction->residual_amount, 2) }} ر.س {{ $transaction->payment_status && $transaction->payment_date ? 'تم الدفع' . $transaction->payment_date : 'يجب الدفع قبل' . $transaction->payment_due }}
X
@endsection @section('page-script') @endsection