@csrf @if( $current_route == 'quotation-edit' ) @endif
@if( $current_route == 'quotation-edit' ) @else @endif @error('clientele_id') {{ $message }} @enderror
statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'readonly') : '' }} />
@error('quotation_no') {{ $message }} @enderror
@if( $current_route == 'quotation-edit' )
@endif
statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'readonly') : '' }} /> @error('subject') {{ $message }} @enderror
statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'readonly') : '' }} /> @error('quotation_date') {{ $message }} @enderror
@if( $current_route == 'quotation-edit' )
@endif
statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'readonly') : '' }} /> @error('payment_term') {{ $message }} @enderror
recurrence_enable ? 'checked' : '' }} {{ $current_route == 'quotation-edit' ? ($quotation->statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'disabled') : '' }}>
@if( $current_route == 'quotation-edit' )
@endif
@error('tnc') {{ $message }} @enderror
@if( $current_route == 'quotation-edit' && $quotation->cancel_remarks )
@endif
Services
@if( $current_route == 'quotation-create' || (isset($quotation) && ($quotation->statusIsDraft() || $quotation->statusIsPendingApproval())) ) @endif
@if( $current_route == 'quotation-edit' && $quotation->clienteleQuotationServices->isNotEmpty() ) @foreach($quotation->clienteleQuotationServices as $index => $svc)
@if( $quotation->statusIsDraft() || $quotation->statusIsPendingApproval() ) @endif
statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'readonly' }} />
statusIsDraft() || $quotation->statusIsPendingApproval() ? '' : 'readonly' }} />
@endforeach @else
@endif
Subtotal RM 0.00
Pre-Tax Total RM0.00
@php $discountValue = 0; $discountType = 'percent'; if ($current_route == 'quotation-edit' && $quotation) { if (!is_null($quotation->discount_percentage)) { $discountValue = $quotation->discount_percentage; $discountType = 'percent'; } elseif (!is_null($quotation->discount_amount)) { $discountValue = $quotation->discount_amount; $discountType = 'amount'; } } @endphp
Tax Amount RM 0.00
Total RM 0.00
@if( $current_route == 'quotation-create' || (isset($quotation) && ($quotation->statusIsDraft() || $quotation->statusIsPendingApproval()) && $quotation->allowEditOrSubmitQuotation()) ) @endif @if( $current_route == 'quotation-create' || (isset($quotation) && $quotation->statusIsDraft() && $quotation->allowEditOrSubmitQuotation()) ) @endif
@include('clientele.quotation-preview') @push('js') @endpush