Commit 55c25f9b by Ajil

Merge branch 'ajil' into 'master'

Ajil See merge request !3
parents 436020de 20237840
......@@ -175,9 +175,9 @@
</thead>
<?php foreach ($prod_list as $r) { ?>
<?php if($r->quote_type ='1') { $quote_types = "BASE";}
if($r->quote_type ='2') { $quote_types = "MEDIUM";}
if($r->quote_type ='3') { $quote_types = "PREMIUM";} ?>
<?php if($r->quote_type =='1') { $quote_types = "BASE";}
if($r->quote_type =='2') { $quote_types = "MEDIUM";}
if($r->quote_type =='3') { $quote_types = "PREMIUM";} ?>
<tbody>
<tr>
<td><?= $r->quote_code ?></td>
......
......@@ -63,7 +63,7 @@
<th>Quote Type</th>
<th>Labour Cost</th>
<th>Parts Cost</th>
<th>Margin</th>
<th>VAT(%)</th>
<th>Total</th>
</tr>
</thead>
......@@ -84,7 +84,7 @@
<td><?= $quoteType ?></td>
<td><?= $value['labour_cost'] ?></td>
<td><?= $value['parts_cost'] ?></td>
<td><?= $value['margin'] ?></td>
<td><?= $value['vat'] ?></td>
<td><?= $value['total'] ?></td>
<tr>
</tbody>
......
......@@ -215,6 +215,7 @@ $ttotal=$total_cost+$amtvat;
'parts_cost'=>$parts_cost[$i],
'quote_type'=>$quote_type[$i],
'garage_id'=>$garage_id,
'vat'=>$vat,
'total'=>$ttotal,
'quote_code'=>random_string('allo',5),
'req_id'=>$req_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment