|
|
element('isEmptyDate', array('date'=>$shipment['Shipment']['date_arrived']));
?>
|
element('isEmptyDate', array('date'=>$shipment['Shipment']['date_dispatched']));
?>
|
|
if(!empty($principle['short_name'])) {
echo $html->link($principle['short_name'], array('controller'=>'principles','action'=>'view',$principle['id']));
}
else {
echo $html->link($principle['name'], array('controller'=>'principles','action'=>'view',$principle['id']));
}
?>
|
=$html->link($po['title'], array('controller'=>'purchase_orders', 'action'=>'view', $po['id']));?>
|
=$html->link($job['title'], array('controller'=>'jobs', 'action'=>'view', $job['id']));?>
|
|
=$box['length']?>x=$box['width']?>x=$box['height']?>
$weightString .= $box['weight'].' kg ';
$totalWeight += $box['weight']; ?>
|
$boxCount = $shipment['Shipment']['box_count'];
if($boxCount > 1) {
echo $weightString;
echo ' ';
}?>
if($boxCount != 0): ?>
=$totalWeight;?> kg |
endif;?>
link($shipment['FreightForwarder']['name'], array('controller' => 'freight_forwarders', 'action' => 'view', $shipment['FreightForwarder']['id'])); ?>
|
|
=$shipment['Shipment']['shipment_invoice_count'];?>
|
";
}
?>
|
foreach($shipment['ShipmentInvoice'] as $si) {
echo $currencies[$si['currency_id']]." ".$si['invoice_amount']." ";
}?>
|
if($si['deferred_gst'] == 1) {
foreach($shipment['ShipmentInvoice'] as $si) {
echo $currencies[$si['currency_id']]." ".$si['deferred_gst_amount']." ";
}
}
?>
|
=$this->element('booleanTick', array('bool'=>$si['approved'])); ?> |
=$this->element('booleanTick', array('bool'=>$si['paid'])); ?> |
=$this->element('isEmptyDate', array('date'=>$si['date_paid']));?> |
|
|