@extends('mainlayout.layout') @section('title', config('app.name') . ' | Order Configuration') @push('css') @endpush @section('content') @php $projectUrl = '/property/show/' . encrypt($property->id); $plans = [ 'installment' => ['Installment Payment', 'Set the deposit and payment deadlines for installment orders.', 'bx-calendar-check', ''], 'full' => ['Full / Cash Payment', 'Set the deposit and payment deadlines for full payment orders.', 'bx-wallet', 'pw-purple'], ]; $fields = [ 'initial_expiry_days' => ['Initial payment deadline', 'days', 'Days allowed to make the initial payment.'], 'initial_percentage' => ['Initial payment', '%', 'The percentage of the order value required as a deposit.'], 'complete_expiry_days' => ['Completion deadline', 'days', 'Days allowed to complete payment for the order.'], ]; @endphp
Back to projectPayment settings

Order Configuration

Manage payment terms for {{ $property->name }}.

@include('superadmin.property.partials.workspace_feedback')
@csrf
@foreach($plans as $prefix => $plan)

{{ $plan[0] }}

{{ $plan[1] }}

@foreach($fields as $suffix => $field) @php $name = $prefix . '_' . $suffix; $percentage = $suffix === 'initial_percentage'; @endphp
{{ $field[1] }}
{{ $field[2] }}@error($name)
{{ $message }}
@enderror
@endforeach
@endforeach
@endsection