Basic reports happening
This commit is contained in:
parent
9350766561
commit
100657c28f
|
|
@ -23,6 +23,14 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?
|
||||
|
||||
$gross_sales_aud_total = 0;
|
||||
$net_sales_aud_total = 0;
|
||||
$gross_profit_total = 0;
|
||||
$count = 0;
|
||||
?>
|
||||
|
||||
<?foreach($jobs as $job):?>
|
||||
<tr>
|
||||
<td><?=$job['Job']['date_order_received'];?></td>
|
||||
|
|
@ -41,13 +49,15 @@
|
|||
|
||||
<td>
|
||||
<?=$job['Job']['company_gross_sales_aud'];?>
|
||||
|
||||
<? $gross_sales_aud_total += $job['Job']['company_gross_sales_aud']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?=$job['Job']['net_sales_aud'];?>
|
||||
<? $net_sales_aud_total += $job['Job']['net_sales_aud']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?=$job['Job']['gross_profit_aud'];?>
|
||||
<? $gross_profit_total += $job['Job']['gross_profit_aud']; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
|
|
@ -60,7 +70,7 @@
|
|||
<td>
|
||||
<?=$job['Job']['ato_exchange_rate'];?>
|
||||
</td>
|
||||
<td> <?=$job['Job']['gross_australian_sales_foreign_currency'];?>
|
||||
<? /*<td> <?=$job['Job']['gross_australian_sales_foreign_currency'];?>
|
||||
</td>
|
||||
<td>
|
||||
<?=$job['Job']['net_australian_sales_foreign_currency'];?>
|
||||
|
|
@ -78,13 +88,31 @@
|
|||
<?=$job['Job']['gross_commissions'];?>
|
||||
</td>
|
||||
<td> <?=$job['Job']['net_commissions'];?>
|
||||
</td>
|
||||
</td> */?>
|
||||
</tr>
|
||||
<?endforeach;?>
|
||||
<?
|
||||
$count++;
|
||||
endforeach;?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td><? //Date ?></td>
|
||||
<td><? //Job No ?></td>
|
||||
<td><? //Enq No ?></td>
|
||||
<td><? //Principle ?></td>
|
||||
<td><? //Customer ?></td>
|
||||
<td><? //Sale Currency?></td>
|
||||
<td><?=$gross_sales_aud_total?></td>
|
||||
<td><?=$net_sales_aud_total?></td>
|
||||
<td><?=$gross_profit_total?></td>
|
||||
<td><? //Net Sales Conv to AUD?></td>
|
||||
<td><? //GP % Excl Comm?> </td>
|
||||
<td><? //ATO EXH RATE?></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
|
||||
<?
|
||||
print_r($jobs);
|
||||
//print_r($jobs);
|
||||
?>
|
||||
|
|
@ -1305,6 +1305,9 @@ table.jobsTable tr td {
|
|||
}
|
||||
|
||||
|
||||
.jobsTable tfoot tr td{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
select.sale_category {
|
||||
width: 300px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue