<?php
$pageTitle = 'New Quotation';
require_once __DIR__ . '/../../app/includes/header.php'; require_role_access('quote:create');
$quotation = ['quotation_no' => next_quotation_no(), 'system_type' => 'On-Grid Solar System', 'calculation_method' => 'Peak Load', 'panel_mounting' => 'Rooftop', 'vat_percent' => get_setting('default_vat_percent', '5'), 'ait_percent' => '5', 'lc_fee_percent' => '7', 'dollar_rate' => '125', 'import_tax_note' => 'No VAT & AIT for Import Part', 'status' => 'draft', 'terms_conditions' => get_setting('default_terms')];
$items = []; $loads = [['load_name'=>'Ceiling Fan','qty'=>1,'watt_rating'=>90,'backup_when_no_sun'=>2]]; $importItems = [];
$action = APP_BASE . '/quotations/store.php';
require __DIR__ . '/form.php';
require_once __DIR__ . '/../../app/includes/footer.php';
