$BussCategory = $rows[0]['option_terms'];
    $project = $rows[0]['project_name'];
    $cust_name = $rows[0]['customer_name'];
    $attention = $rows[0]['attention'];
    echo "localStorage.info = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_scope', ' and status=1');
    echo "localStorage.termsScopeArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_financial', ' and status=1');
    echo "localStorage.termsFinancialArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_site', ' and status=1');
    echo "localStorage.termsSiteArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_supplyapply');
    echo "localStorage.productSupplyApplyArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_supply');
    echo "localStorage.productSupplyArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rowsSales = $process->GetSales($_GET['quote_ref']);
    ?>
		systemArray.push({username:'******'user_log'];
    ?>
',mode:'EDIT',
		QuoteRef: '<?php 
    echo !isset($_GET['quote_ref']) ? "" : $_GET['quote_ref'];
    ?>
'});
		localStorage.systemArray = JSON.stringify(systemArray);
		
	<?php 
}
?>