@extends('layouts.app') @section('css') @endsection @section('content') @include('layouts.toolbar')

{{isset($studentSummerEnrollment->student) ? ucwords($studentSummerEnrollment->student->first_name) .' '. ucwords($studentSummerEnrollment->student->last_name) : ''}} - {{isset($studentSummerEnrollment->currentGrade) ? $studentSummerEnrollment->currentGrade->name : ''}}


{{ csrf_field() }}
Your card will not be charged until your invoice is due and payment has not been received through other methods after one or more requests for payment

Select One Card

@php $checkedSourceId = 0; if ($studentSummerEnrollment->paymentSources()->exists()){ $checkedSource = $studentSummerEnrollment->paymentSources()->first(); $checkedSourceId = $checkedSource->pivot->payment_source_id; } @endphp @foreach($paymentSources as $index => $source) @endforeach
Card Expire Month Expire Year Status Action
Select Option:
id || $source->is_primary == 1) {!! "checked" !!} @endif value="{{$source->id}}">
Card:
{!! getCardIcon($source->brand) !!} {{$source->last_four}}
Expiry Month:
{{$source->exp_month}}
Expiry Year:
{{$source->exp_year}}
Status:
{!! getStatusIcon($source->status) !!}
Action:

@if(session('role') != 'PARENT') Skip @endif
@endsection @section('js') @endsection