@extends('layouts.frontend') @section('title', '| PayNow') @section('content')
Payment
@if($FormData['is_attorney_fee_paid'] == 0) @endif
@if($FormData['edit_count'] > 0) @php $form_price_label = 'Form Edit Price'; @endphp @else @php $form_price_label = 'Form Price'; @endphp @endif
${{$FormData['form_price']}}
{{-- Display the attorney price with strike-through if the user hasn't paid for any forms. Otherwise, display the attorney price without strike-through. --}} {{-- /** * Display the attorney price with strike-through if the user hasn't paid for any forms. * Otherwise, display the attorney price without strike-through. * * @param int $attorneyPrice The attorney price to display. * @return string HTML markup for displaying the attorney price. * @author Theshan Thanushka * @created 2024-04-10 */ /** * Author : Gurupriya Solanki * Description : Check if Free Attorney has enabled/Active by Admin then Free Attorney Functionlity will be apply other wise client has to select attorney if they want.Condition handling by funciton hasPaidFormsForUser - app\Helpers\FormHelper.php * Updated Date :24 April 2024 */ --}} @if (!hasPaidFormsForUser()) ${{$FormData['attorney_price']}} @else ${{$FormData['attorney_price']}} @endif
Total ${{$FormData['form_price']}}
Loading...
Loading...
@endsection @section('page-js') @if ($FormData['payment_status'] !== 'succeeded' && $FormData['payment_status'] !== 'paid') @if(!hasPaidFormsForUser()) @endif @endif @endsection