@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('students.index'), 'name' => 'الطلاب'],['link' => route('students.show',$student->id), 'name' => $student->student_name],['link' => route('students.contracts.index',[$student->id,$contract]), 'name' => 'تعاقد #'.$contract],['link' => route('students.contracts.transactions.index',[$student->id,$contract,$transaction->id]), 'name' => $transaction->installment_name]],['title'=> 'سجل الدفع #'. $transaction->id]]; @endphp @section('title', 'سجل محاولات الدفع #'. $transaction->id) @section('content') سجل محاولات الدفع - للدفعة رقم #{{ $transaction->id }} - ({{$transaction->installment_name}}) محاولات الدفع للعقد رقم #{{ $contract . ' - اسم الطالب : ' . $student->student_name .' - الدفعة : #' . $transaction->id . ' - '. $transaction->installment_name }} @can('accounts-create') @if(!in_array($contractAcademicYear->status,[\App\Models\Contract::FINISHED,\App\Models\Contract::CANCELLED])) اضافة دفعة جديدة @endif @endcan الاجراءات كود الفترة وسيلة الدفع مبلغ الدفعه خ.قسيمة خ.محفظة خ.فترة المحصل حالة الدفع {{-- المرجع--}} {{-- مزامنة odoo--}} {{-- بواسطة--}} اخر تحديث @foreach($PaymentAttempts as $key => $PaymentAttempt) @if($PaymentAttempt->getRawOriginal('approved') == 1) @endif {{ $PaymentAttempt->id }} {{ $PaymentAttempt->period_name }} {{ $PaymentAttempt->method_name }} {!! $PaymentAttempt->bank_name ? sprintf('(%s)',$PaymentAttempt->account_number,$PaymentAttempt->bank_name) : '' !!} {!! $PaymentAttempt->network_name ? sprintf('(%s)',$PaymentAttempt->network_account_number,$PaymentAttempt->network_name) : '' !!} {{ $PaymentAttempt->requested_ammount }} {{ null !== $PaymentAttempt->coupon_discount && $PaymentAttempt->coupon_discount > 0 ? sprintf('خصم %s - (%s)',$PaymentAttempt->coupon_discount,$PaymentAttempt->coupon) : '0.0'}} {{ null !== $PaymentAttempt->wallet_id ? sprintf('خصم محفظة %s - (%s)',$PaymentAttempt->wallet_discount,$PaymentAttempt->wallet_id) : '0.0'}} {{ $PaymentAttempt->period_discount }} {{ $PaymentAttempt->received_ammount }} {{ $PaymentAttempt->approved()}} {{-- @if(in_array($PaymentAttempt->payment_method_id,[1,2,4]) && ! empty($PaymentAttempt->attach_pathh) && Storage::disk('s3')->exists($PaymentAttempt->attach_pathh))--}} {{-- --}} {{-- @else {{ $PaymentAttempt->reference }} @endif--}} {{-- --}} {{-- @if($PaymentAttempt->odoo_sync_status) @else @endif--}} {{-- {{ $PaymentAttempt->admin_name }}--}} {{ $PaymentAttempt->updated_at->diffforhumans() }} @endforeach @endsection