コード例 #1
0
ファイル: edit_import_goods.php プロジェクト: rajibahmed/IIMS
<?php

require_once "../../../lib/importGoods.class.php";
$objImportGoodsInfo = new ImportGoods();
$imp_gds_id = $_GET['imp_gds_id'];
$ImportGoodsById = $objImportGoodsInfo->retriveImportGoodsById($imp_gds_id);
$rowImportGoodsById = count($ImportGoodsById);
for ($j = 0; $j < $rowImportGoodsById; $j++) {
    $initial_offer_date = $ImportGoodsById[$j]['initial_offer_date'];
    $pi_num = $ImportGoodsById[$j]['pi_num'];
    $pi_date = $ImportGoodsById[$j]['pi_date'];
    $factory_indent_num = $ImportGoodsById[$j]['factory_indent_num'];
    $ic_num = $ImportGoodsById[$j]['ic_num'];
    $ic_date = $ImportGoodsById[$j]['ic_date'];
    $goods_shipment_date = $ImportGoodsById[$j]['goods_shipment_date'];
    $port_arrival_date = $ImportGoodsById[$j]['port_arrival_date'];
    $goods_deliv_date = $ImportGoodsById[$j]['goods_deliv_date'];
    $factory_rec_date = $ImportGoodsById[$j]['factory_rec_date'];
    $short_supply_claim_date = $ImportGoodsById[$j]['short_supply_claim_date'];
    $short_supply_recive_date = $ImportGoodsById[$j]['short_supply_recive_date'];
    $remark = $ImportGoodsById[$j]['remark'];
}
?>



<div id="note"> </div>
<link href="../../../css/stylesheet.css" rel="stylesheet" type="text/css" />

<div id="note"> </div>				
<form id="importGoodsForm" name="importGoodsForm" method="post"   action="includes/model/import_goods_update_actions.php" >
コード例 #2
0
<?php

require_once "../../../lib/importGoods.class.php";
$objImportGoodsInfo = new ImportGoods();
$ImportGoodsInfo = $objImportGoodsInfo->retriveImportGoods();
$rowImportGoodsInfo = count($ImportGoodsInfo);
?>


<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 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="177"><b>Initial Offer Date</b></td>
    <td width="255"><b>Proforma Invoice number</b></td>
    <td width="144"><b>Proforma Invoice Date</b></td>
    <td width="144"><b>Factory Indent Number</b></td>
    <td width="144"><b>L/C No</b></td>
    <td width="144"><b>L/C No</b></td>
    <td width="144">&nbsp;</td>
    <td width="84">&nbsp;</td>
  </tr>
<?php 
コード例 #3
0
<?php

require_once "../../lib/importGoods.class.php";
$objImportGoodsInfo = new ImportGoods();
extract($_POST);
/////////////////////////////
$initial_offer_date = $_POST['initial_offer_date'];
$pi_num = $_POST['pi_num'];
$pi_date = $_POST['pi_date'];
$factory_indent_num = $_POST['factory_indent_num'];
$ic_num = $_POST['ic_num'];
$ic_date = $_POST['ic_date'];
$goods_shipment_date = $_POST['goods_shipment_date'];
$port_arrival_date = $_POST['port_arrival_date'];
$goods_deliv_date = $_POST['goods_deliv_date'];
$factory_rec_date = $_POST['factory_rec_date'];
$short_supply_claim_date = $_POST['short_supply_claim_date'];
$short_supply_recive_date = $_POST['short_supply_recive_date'];
$remark = $_POST['remark'];
$getData = "'','{$initial_offer_date}','{$pi_num}','{$pi_date}','{$factory_indent_num}','{$ic_num}','{$ic_date}','{$goods_shipment_date}','{$port_arrival_date}','{$goods_deliv_date}','{$factory_rec_date}','{$short_supply_claim_date}','{$short_supply_recive_date}','{$remark}'";
$objImportGoodsInfo->CreateImportGoods($getData);
echo "<b>Data Save Successsfull</b>";
?>
	
コード例 #4
0
<?php

require_once "../../lib/importGoods.class.php";
$objImportGoodsInfo = new ImportGoods();
extract($_POST);
/////////////////////////////
$imp_gds_id = $_POST['imp_gds_id'];
$initial_offer_date = $_POST['initial_offer_date'];
$pi_num = $_POST['pi_num'];
$pi_date = $_POST['pi_date'];
$factory_indent_num = $_POST['factory_indent_num'];
$ic_num = $_POST['ic_num'];
$ic_date = $_POST['ic_date'];
$goods_shipment_date = $_POST['goods_shipment_date'];
$port_arrival_date = $_POST['port_arrival_date'];
$goods_deliv_date = $_POST['goods_deliv_date'];
$factory_rec_date = $_POST['factory_rec_date'];
$short_supply_claim_date = $_POST['short_supply_claim_date'];
$short_supply_recive_date = $_POST['short_supply_recive_date'];
$remark = $_POST['remark'];
if ($initial_offer_date != NULL) {
    $objImportGoodsInfo->updateImportGoods($imp_gds_id, $initial_offer_date, $pi_num, $pi_date, $factory_indent_num, $ic_num, $ic_date, $goods_shipment_date, $port_arrival_date, $goods_deliv_date, $factory_rec_date, $short_supply_claim_date, $short_supply_recive_date, $remark);
    echo "<b>Data Save Successsfull<b>";
}
?>