{{-- --}} {{-- --}}
@csrf @if(isset($proposal->id)) @method('PUT') @endif
{{ isset($proposal->id) ? '✏️ Edit Proposal #' . $proposal->proposal_number : '📋 New Proposal' }}
✕ Discard
💾 Save
Client Type
Select Type
Select Type
👤 Customer
🎯 Lead
Customer
Select Customer
Select Customer
@foreach($customers as $customer)
@if($customer->customer_type === 'company')
{{ $customer->company }}
{{ $customer->name }}
@else
{{ $customer->name }}
@endif
@endforeach
Lead
Select Lead
Select Lead
@foreach($leads as $lead)
@if($lead->company)
{{ $lead->company }}
{{ $lead->name }}
@else
{{ $lead->name }}
@endif
@endforeach
Subject
Proposal Number
Date
Valid Until
Currency
@foreach($currencies as $code => $label)
currency ?? 'INR') == $code ? 'selected' : '' }}>{{ $code }}
@endforeach
Status
@foreach($statuses as $key => $label)
status ?? 'draft') == $key ? 'selected' : '' }}>{{ $label }}
@endforeach
Discount
discount_type ?? 'no_discount') == 'no_discount' ? 'selected' : '' }}>No Discount
discount_type ?? '') == 'before_tax' ? 'selected' : '' }}>Before Tax
discount_type ?? '') == 'after_tax' ? 'selected' : '' }}>After Tax
📦 Order Lines
ℹ️ Other Info
📄 Document Settings
Product
Qty
Unit Price
Taxes
Amount
➕ Add Product
≡ Add Section
📝 Add Note
📦 Catalog
Subtotal
₹ 0.00
Discount (
%)
-₹ 0.00
Tax Breakdown
Total Tax
₹ 0.00
Total
₹ 0.00
Address
{{ $proposal->address ?? '' }}
City
State
Country
Zip
Email
Phone
Assigned To
Select User
@foreach($users as $user)
assigned_to ?? '') == $user->name ? 'selected' : '' }}>{{ $user->name }}
@endforeach
Customer Notes
{{ $proposal->content ?? '' }}
Internal Notes
{{ $proposal->admin_note ?? '' }}
Select Document Template (Optional)
-- No Template / Custom Content --
@foreach($documentTemplates as $template)
document_template_id ?? '') == $template->id ? 'selected' : '' }}> {{ $template->name }} ({{ ucfirst($template->type) }})
@endforeach
💡 Select a template to auto-fill all fields below, or leave blank to enter custom content
📜 Terms and Conditions
{{ old('terms_and_conditions', $proposal->terms_and_conditions ?? $defaultTerms ?? '') }}
🔒 Privacy Policy
{{ old('privacy_policy', $proposal->privacy_policy ?? $defaultPrivacy ?? '') }}
💳 Payment Details
{{ old('payment_details', $proposal->payment_details ?? $defaultPayment ?? '') }}
📝 Conclusion / Footer Note
{{ old('conclusion', $proposal->conclusion ?? $defaultConclusion ?? '') }}
✕ Discard
💾 Save
📦 Product Catalog
×
@foreach($products as $p)
{{ $p->name }}
{{ $p->sku ?? '' }}
₹ {{ number_format($p->sale_price ?? 0, 2) }}
@endforeach
Price Alert
Selling below purchase price
Product Name
Selling Price
₹0.00
Purchase Price
₹0.00
Loss per unit
₹0.00
This price is below the purchase cost and will result in a loss on this item.