Пример #1
0
$objStockGroupInfo = new Stock();
$stock = new Stock();
$StockGrpInfo = $objStockGroupInfo->retriveStockGroupUnderInfo();
$StockGrpInfo_options = options_for_select($StockGrpInfo, 'stock_group_id', 'stock_group_name', true);
/////////////////////////////////
//// Retrive Stock Catagory Name
$objStockCatInfo = new Stock();
$StockCatInfo = $objStockCatInfo->retriveStockCatUnderInfo();
////////////////////////////////////////////////
$StockCatInfo_options = options_for_select($StockCatInfo, 'stock_cat_id', 'stock_cat_name', true);
$stockDept = options_for_select($stock->retriveStockDepartmentInfo(), 'stock_dept_id', 'stock_dept_name', true);
$stockSection = options_for_select($stock->retriveStockSection(), 'sec_id', 'sec_name', true);
$stockMachineName = options_for_select($stock->retriveMachineName(), 'm_id', 'm_name', true);
$stockMachineModelName = options_for_select($stock->retriveMachineModelName(), 'machine_model_id', 'machine_model_name', true);
$stockManufecturer = options_for_select($stock->retriveManufecturer(), 'manu_id', 'manu_name', true);
$stockItemName = options_for_select($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name', true);
/////////////////////////////////
//// Retrive Stock Unit Name
$unitName = options_for_select($stock->retriveStockUnit(), 'stock_item_unit_id', 'stock_item_unit_name', true);
/////////////////////////////////
@session_start();
$user_level = $_SESSION[user_level];
$stc_itm_id = $_GET['stc_itm_id'];
$stockItemByID = $objStockGroupInfo->retriveStockItemByid($stc_itm_id);
$allStockItem = $objStockGroupInfo->retriveStockItem();
$rowStockItem = count($allStockItem);
$stock_p_id = $stockItemByID["0"]["stock_p_id"];
$allStockItemUnit = $objStockGroupInfo->retriveStockUnit();
$rowStockItemUnit = count($allStockItemUnit);
$stock_item_unit_id = $stockItemByID["0"]["stock_item_unit_id"];
$allStockGroup = $objStockGroupInfo->retriveStockGroupListAll();
Пример #2
0
<?php

require_once '../../lib/stock.class.php';
$part_number = (int) $_GET[part_number];
$stock = new Stock();
$items = $stock->retriveStockItem();
$output = '';
foreach ($items as $item) {
    $output .= '<option value=' . $item[stock_item_id] . '>' . $item[stock_item_name] . ", " . $item[stock_item_cl_balance] . '</option>';
}
echo $output;
?>

<?php

require_once '../../lib/defination.class.php';
include '../../lib/stock.class.php';
include '../../lib/raw_item.class.php';
require_once '../../lib/consumption.class.php';
$stock = new Stock();
$Consumption = new Consumption();
$stock_info = $stock->retriveStockItem();
$rawItem = new rawItem();
$output = options_for_select($rawItem->retriveRawItem(), 'stock_item_id', 'stock_item_name');
//echo $output;
$part_number = options_for_select($stock->retriveStockItem(), 'stock_item_part_id', 'stock_item_part_id');
$locations = options_for_select($stock->retriveLocation(), 'stock_location_name', 'stock_location_name');
$num = $Consumption->getissueRawNewId();
?>

<div id="note"> </div>

<form id="consumptionForm" name="consumptionForm" method="post"  action="includes/model/consumption_raw_actions.php" >	


	<div class='morelabel'>
	
		<p>
			
				<label>Consumption # </label>
			<input type="text" disabled value="<?php 
echo generate_timestamp('CON-R', $num);
?>
"  />
Пример #4
0
<?php

require_once '../../lib/defination.class.php';
include '../../lib/supplier.class.php';
include '../../lib/stock.class.php';
include '../../lib/purchaseOrder.class.php';
include '../../lib/mrr.class.php';
$stock = new Stock();
$MRR = new MRR();
$output = options_for_select($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name');
// get suppliers info for combo box;
$Supplier = new Supplier();
$outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_id', 'sup_name', true);
$Purchase = new Purchaseorder();
$outputPurchaseorder = options_for_select($Purchase->RetrivePurchaseOrder(), 'pm_id', 'pm_no', true);
$locations = options_for_select($stock->retriveLocation(), 'stock_location_id', 'stock_location_name');
$num = $MRR->getNewId();
?>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />
<div id="note"> </div>
<form id="mrrForm" name="mrrForm" method="post"  action="includes/model/mrr_order_actions.php" >
	
	<div class='morelabel'>
		
		<p>
			
				<label>MRR # </label>
			<input type="text" disabled value="<?php 
echo generate_timestamp('MRR', $num);
?>
"  />
Пример #5
0
<?php

require_once "../../../lib/stock.class.php";
$objStockEngineerInfo = new Stock();
$EngineerListAll = $objStockEngineerInfo->retriveStockItem();
$rowEngListAll = count($EngineerListAll);
?>



<div id="search">
	<h1>Search</h1>	
	<p>
		<form autocomplete="off" action='' method='get'>
			<label for="stock_item">Stock Item Name</label>
			<input type="text" id="rajib" style='width:200px' />
			<a id='edit_stock_item' class='button thickbox' href='#'>Edit</a>
			<a id='' class='button delete' href='#'>Delete</a>
		</form>		
	 </p>
</div>

<table width="100%" border="0" id='stock_items'>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td width="129" align="right" valign="top">&nbsp;</td>
    <td width="158" align="right" valign="top"><a class="thickbox" href="includes/contents/create_engn_item.php">Back</a></td>
  </tr>
  <tr>
    <td width="243"><b>Item Name</b></td>
Пример #6
0
// 										'stock_dept_id',
// 										'stock_dept_name',
// 										true
// 								);
//
// $stockSection=options_for_select(	$stock->retriveStockSection(),
// 											'sec_id',
// 											'sec_name',
// 											true
// 								);
/*$stockItems=options_for_select(	$stock->retriveStockItem(),
					'stock_item_id',
					'stock_item_name',
					true	
		);	*/
$stockItems = options_for_select_stock_item($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name', 'stock_item_cl_balance', true);
$stockMachineName = options_for_select($stock->retriveMachineName(), 'm_id', 'm_name', true);
//$num = $requisition->getNewId();
?>


	
    <div class="rightcontenttest">
    	<div class="bodybanner1"></div>
        <div class="bodybannertest">Production Voucher</div>
        <div class="bodybanner3"></div>
    </div>

<form id="productionForm" name="rproductionForm" method="post" action="includes/model/production_actions.php" >
	<div id="note" style=""> </div>
    
Пример #7
0
<?php

require_once '../../lib/defination.class.php';
include '../../lib/supplier.class.php';
include '../../lib/stock.class.php';
include '../../lib/indent.class.php';
// get stock item for combo box
$Stock = new Stock();
$outputStockItem = options_for_select($Stock->retriveStockItem(), 'stock_item_id', 'stock_item_name', true);
// get suppliers info for combo box;
$Supplier = new Supplier();
$outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_id', 'sup_name', true);
// get Indend info for combo box;
$Indent = new Indent();
$outputIndend = options_for_select($Indent->retriveIndendInfo(), 'indent_id', 'indent_code', true);
?>

<form id="supplierForm" name="supplierForm" method="post"   action="includes/model/quotation_actions.php" >

 <div class="rightcontenttest">
    	<div class="bodybanner1"></div>
        <div class="bodybannertest">Quotation</div>
        <div class="bodybanner3"></div>
    </div>

	<table class="form" border="0" >
		
		
		  <th colspan="2">
	  
		
Пример #8
0
<?php

require_once '../../lib/defination.class.php';
include '../../lib/stock.class.php';
require_once '../../lib/consumption.class.php';
$stock = new Stock();
$Consumption = new Consumption();
$stock_info = $stock->retriveStockItem();
$output = options_for_select_stock_item($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name', 'stock_item_cl_balance');
//echo $output;
$part_number = options_for_select($stock->retriveStockItem(), 'stock_item_part_id', 'stock_item_part_id');
$locations = options_for_select($stock->retriveLocation(), 'stock_location_id', 'stock_location_name');
$num = $Consumption->getNewId();
?>

<div id="note"> </div>


<form id="consumptionForm" name="consumptionForm" method="post"  action="includes/model/consumption_actions.php" >	

		
		
	

	<div class='morelabel'>
	
		<p>
			
			<label>Consumption # </label>
			<input type="text" disabled value="<?php 
echo generate_timestamp('CON', $num);
Пример #9
0
<?php

require_once "../lib/stock.class.php";
$Stock = new Stock();
extract($_POST);
$Data = $Stock->retriveStockItem();
$grandTotalPrice = 0;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="../css/report.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {	font-size: 14px;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="11" align="center" valign="top"><table width="50%" height="68" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" valign="top"><h1>Square Textiles Ltd.</h1>          
          <p class="style1">Saradaganj, Kashimpur, Gazipur </p>