counter(array( 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) )); ?>
| sort('user_id');?> | sort('date_arrived');?> | sort('date_dispatched');?> | sort('type');?> | Principle(s) | PO(s) | Jobs | sort('# Boxes','box_count');?> | Box Details LxWxH (cm) |
Weight (kg) | sort('freight_forwarder_id');?> | sort('airway_bill');?> | sort('comments');?> | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| $initials = $shipment['User']['first_name'][0].$shipment['User']['last_name'][0]; echo $html->link($initials, array('controller'=> 'users', 'action'=>'view', $shipment['User']['id'])); ?> | 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'])); ?> |