From 080452e3a8c819ca1c3c01be905d434cec38891c Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Fri, 29 Apr 2011 17:24:53 +1000 Subject: [PATCH] Add shipments working. Finish up editing etc next week --- webroot/js/shipment_index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/webroot/js/shipment_index.js b/webroot/js/shipment_index.js index b97ec7c3..fc43878d 100644 --- a/webroot/js/shipment_index.js +++ b/webroot/js/shipment_index.js @@ -71,7 +71,18 @@ $(function() { case 2: //Direct $("#purchaseOrder, #job,#principle, #dateDispatched, #customer, #address, #addressSpan, #freight_forwarder, #airway_bill, #boxes").show(); + break; + case 3: //Export + $("#job, #dateDispatched, #customer, #address, #addressSpan, #freight_forwarder, #airway_bill, #boxes").show(); + break; + case 4: //Local + $("#job, #dateDispatched, #customer, #address, #addressSpan, #freight_forwarder, #airway_bill, #boxes").show(); + + break; + default: + + break; }