/* Decoded by unphp.net */
include("../config/Connection.php");
$we=$_REQUEST['we'];
if ($we==1){
header('Content-type: application/word');
header('Content-Disposition: attachment; filename="Inventory.doc"');
} else if ($we==2){
header('Content-type: application/excel');
header('Content-Disposition: attachment; filename="Inventory.xls"');
}
include("Rhead.php");
?>
Sr# |
BarCode |
Name |
BP |
TP |
STORE |
SHOP |
Store AMT |
Shop AMT |
'. $Name.' | ';
$rsp=mysql_query("select * from product where Company_Id='$Customer_Id' and del=0 order by Name");
while($newArray=mysql_fetch_array($rsp)) {
$P_Name= $newArray['Name'];
$S_Price= $newArray['TP'];
$ProductId= $newArray['ProductId'];
$shQTY= $newArray['Shop'];
$ProductId= $newArray['Product_Id'];
$QTY= $newArray['QTY'];
$P_Price=$newArray['ORate']
?>
|
|
|
|
|
|
|
| |
|
TOTAL |
|
|
|
|
|
GRAND TOTAL |
|
|
|
|