@extends('layouts.app') @section('title', 'Academic Order Form') @section('content')

Academic Order Form

@include('message.messages')
@csrf
@error('ceremony_id')
{{ $message }}
@enderror
@error('full_name')
{{ $message }}
@enderror
@error('university_attended')
{{ $message }}
@enderror
@error('course_of_study')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('mobile')
{{ $message }}
@enderror
@error('gown_type')
{{ $message }}
@enderror

Select Products

@foreach ($academicProducts as $product)
{{ $product->name }} {!! isTrue($product->is_required) ? requiredLabel() : '' !!}
@if (isTrue($product->has_option))
{{ $product->name }} Size {!! isTrue($product->is_required) ? requiredLabel() : '' !!} @error('products.' . $product->id)
{{ $message }}
@enderror
@else @endif {{--
{{ $product->name }} Quantity {!! requiredLabel() !!} is_required) ? 'required' : '' }} value="{{ old('product_quantity.' . $product->id) }}">
--}}
@endforeach
@if (isTrue($institution->academic_order_payment_by))

Order Price: ${{ $institution->academic_product_price }} (AUD)

@php $merchantFee = calculateMerchantFee($institution->academic_order_merchant_fee, $institution->academic_product_price); @endphp Merchant Fee ({{ $institution->academic_order_merchant_fee }}%): ${{ $merchantFee }} (AUD)

Total Price: ${{ numberFormat($institution->academic_product_price + $merchantFee) }} (AUD)

@endif
@endsection