Esempio n. 1
0
<?php

require_once '../../lib/defination.class.php';
include '../../lib/delivery.class.php';
include '../../lib/stock.class.php';
include '../../lib/gatePass.class.php';
// get stock item for combo box
$Stock = new Stock();
$outputStockItem = options_for_select($Stock->retriveStockItemByIndendId($id), 'stock_item_id', 'stock_item_name', true);
// get Indend info for combo box;
$GatePass = new GatePass();
$GatePassNo = options_for_select($GatePass->retriveGatePassMasterNo(), 'gate_pass_id', 'gate_pass_no', true);
$Delivery = new Delivery();
$num = $Delivery->getNewId();
?>



<style type="text/css">
<!--
.style10 {font-size: xx-small; font-family: Verdana, Arial, Helvetica, sans-serif; }
.style11 {font-size: xx-small}
-->
</style>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />
<form id="supplierForm" name="supplierForm" method="post"  action="includes/model/delivery_actions.php" >

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

<div id="ajax_content">	
<table width="105%" border="0" align="left" cellpadding="2" cellspacing="5" style="float:left" >
Esempio n. 2
0
<?php

require_once "../../../lib/gatePass.class.php";
require_once "../../../lib/helper_functions.php";
$Gatepass = new GatePass();
$getPassDetails = $Gatepass->FindDetailsOfGatePass((int) $_GET[p_m_id]);
?>
<!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=utf-8" />
<title>Print Gate Pass</title>
<link href="../../../css/report.css" rel="stylesheet" type="text/css" />
<style>
.getPass td{
	text-align:center;
	border: #999999 1px solid;
}
</style>
</head>

<body>
<table width="50%" height="67" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="26" align="center" valign="top"><h1>Square Textiles Ltd.</h1>
          <p class="style1">Saradaganj, Kashimpur, Gazipur </p></td>
        </tr>
        <tr>
        <td height="26" align="center" valign="top"><p><b>Gate Pass</b></p></td>
    </tr>
</table>
Esempio n. 3
0
<?php

require_once "../../../lib/gatePass.class.php";
require_once "../../../lib/helper_functions.php";
$gatepass = new GatePass();
//	echo "<pre>";
//		var_dump($mrr->findMrrList());
//	echo "</pre>";
$gatepasses = $gatepass->findGatePass();
?>

	 <div id="inline_form">
			
			<div class="mediumbody">
				<div class="lowbanner1"> </div>
	            <div class="lowbannertest">	
					<ul>
						<li style="width:210px">Items </li>
						<li style="width:170px">Gate Pass # </li>
						<li style="width:180px">Gate Pass Date</li>  
						<li style="width:50px"></li> 
					</ul>
				</div>
	            <div class="lowbanner3"> </div>	
		</div> 

	
	<?php 
if (!empty($gatepasses)) {
    ?>
Esempio n. 4
0
<?php

require_once '../../lib/defination.class.php';
include '../../lib/gatePass.class.php';
include '../../lib/stock.class.php';
include '../../lib/consumption.class.php';
// get stock item for combo box
$Stock = new Stock();
$outputStockItem = options_for_select($Stock->retriveStockItemByIndendId($id), 'stock_item_id', 'stock_item_name', true);
// get Indend info for combo box;
$Consumption = new Consumption();
$outputIndend = options_for_select($Consumption->retriveIssueMasterNo(), 'cm_id', 'consumption_num', true);
$GatePass = new GatePass();
$num = $GatePass->getNewId();
?>



<style type="text/css">
<!--
.style10 {font-size: xx-small; font-family: Verdana, Arial, Helvetica, sans-serif; }
.style11 {font-size: xx-small}
-->
</style>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />
<form id="supplierForm" name="supplierForm" method="post"  action="includes/model/gatepass_actions.php" >

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

<div id="ajax_content">	
<table width="105%" border="0" align="left" cellpadding="2" cellspacing="5" style="float:left" >
Esempio n. 5
0
<?php

session_start();
require_once '../../lib/gatePass.class.php';
extract($_POST);
//print_r($_POST);
$GatePass = new GatePass();
$num = $GatePass->getNewId();
$getData = "'{$num}','{$GatePass_num}','{$date_of_submit}','{$purpose}','{$name}','{$address}', '{$status}','{$IssueNo}',''";
extract($GatePass->CreateGatePassMaster($getData));
$getData = '';
$counter = $id;
for ($i = 0; $i < count($item_code); $i++) {
    $getData = "'null',\t'{$counter}',\n\t\t\t\t\t\t\t\t'{$item_code[$i]}',\n\t\t\t\t\t\t\t\t'{$item_qty[$i]}',\n\t\t\t\t\t\t\t\t'{$remark[$i]}'\n\t\t\t\t\t\t\t\t";
    $GatePass->CreateGatePassDetails($getData);
}
echo "Gate Pass Save Successfully";