";
echo "ABN:$companyvars[ABN]
";
echo "Phone:".$companyvars[phone]."";
?>
"; ?>
PRICEBOOK
| Customer Information |
Delivery Address |
Details |
Account Contact |
|
";
if(!empty($client[telephone])) { echo "Ph. ".$client[telephone]." "; }
if(!empty($client[email])) { echo "E. ".$client[email]." "; }
if(!empty($client[invAddress])) { echo nl2br($client[invAddress]); }
?>
|
".nl2br($quote[delAddress])."
";
echo "Ship Via: $quote[shipVia]";
}
?>
|
|
|
cat'");
//GET THE CUSTOMERS DISCOUNT
//### CHAINLINK FABRIC
//HEAVY GAL 2.5
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by SUBSTRING(inventory.code,-2),inventory.price ");
//showRows(" ","",$inv);
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
(inventory.code like '%25' OR inventory.code like '%20')AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.code like '%32' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.code like '%40' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.desc like '50 NB%' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.desc like '65 NB%' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.code like '%80' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.code like '%100' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by nventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.code like '%150' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
$inv = getFieldArray("inventory.*",
"inventory,invpricebookitems",
"where inventory.id=invpricebookitems.inventoryid AND
inventory.code like '%200' AND
invpricebookitems.pricebook='$_REQUEST[id]'
order by inventory.price,inventory.code");
if(count($inv) > "0"){
showRows(" ","",$inv);
}
?>