No Record exist....
get_row( "SELECT * FROM kn_departuredates where id = '".$departureid."' ", ARRAY_A);
?>
Add Box Reciept of Departure Date :
# |
Job No: |
Box Description |
No of Pieces |
Gross Weight in KGs |
Departure Date |
Delivery Date |
Delivery Type |
Date |
Action |
get_results( "SELECT * FROM kn_cargo where departureid = '".$departureid."' " );
$counter2 =0 ; $noofpieces = 0 ; $totalweight = 0;
foreach($printrows as $key=>$val)
{
$counter2++;
$dtype = $wpdb->get_row( "SELECT * FROM kn_delieverytype WHERE id = '".$val->deliverytype."' ", ARRAY_A );
$noofpieces += floatval($val->noofboxes);
$totalweight += floatval($val->grossweight);
?>
|
id; ?> |
boxdescription;?> |
noofboxes; ?> |
grossweight; ?> |
departuredate));?> |
deliverydate));?> |
|
submitdate));?> |
Edit | Print Reciept
Delete
|
|
|
|
Total Pieces : |
Total Weight : KG |
|
|
|
|
|