예제 #1
0
require_once '../../lib/defination.class.php';
require_once "../../lib/stock.class.php";
require_once '../../lib/defination.class.php';
include '../../lib/supplier.class.php';
include '../../lib/lc.class.php';
include '../../lib/lot.class.php';
//// Retrive Stock Group Name
$objStockGroupInfo = new Stock();
$stock = new Stock();
$StockGrpInfo = $objStockGroupInfo->retriveStockGroupUnderInfo();
$StockGrpInfo_options = options_for_select($StockGrpInfo, 'stock_group_name', 'stock_group_name', true);
//// Retrive Stock Unit Name
$unitName = options_for_select($stock->retriveStockUnit(), 'stock_item_unit_name', 'stock_item_unit_name', true);
$Supplier = new Supplier();
$outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_name', 'sup_name', true);
$LC = new LC();
$outputLC = options_for_select($LC->retriveLcInfo(), 'lc_name', 'lc_name', true);
$Lot = new Lot();
$outputLot = options_for_select($Lot->retriveLotInfo(), 'lot_name', 'lot_name', true);
$StockLocationInfo = $stock->retriveLocation();
$rowStockLocation = count($StockLocationInfo);
/////////////////////////////////
@session_start();
$user_level = $_SESSION[user_level];
?>

<div id="test">
<form  id="CreateStockItem" name="CreateStockItem" method="post"   action="includes/model/raw_item_actions.php"><table width="100%" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td>Name</td>
예제 #2
0
<?php

require_once '../../../lib/defination.class.php';
require_once "../../../lib/supplier.class.php";
$objSupplierInfo = new Supplier();
$SupplierInfo = $objSupplierInfo->retriveSupplierInfo();
$rowSupplierInfo = count($SupplierInfo);
?>


<table width="100%" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td align="right"><a class="thickbox" href="includes/contents/create_import_goods.php?height=500&width=600" title="Import Goods" >Back</a></td>
  </tr>
  <tr>
    <td width="148"><b>Supplier Name</b></td>
    <td width="97"><b>Catagory:</b></td>
    <td width="103"><b>Supplier E-mail</b></td>
    <td width="109"><b>Supplier Address</b></td>
    <td width="109"><b>Supplier Phone</b></td>