예제 #1
0
if (isset($_GET['PRODUCTID'])) {
    if ($_GET['firm'] == "") {
        echo "<font class='error'>There's some error..</font>";
    } else {
        $obj->StoreFirmsWithProducts($_GET['firm'], $_GET['consignee'], $_GET['inspection'], $_GET['quantity'], $_GET['unit'], $_GET['tdc'], $_GET['emd'], $_GET['rate'], $_GET['taxtype'], $_GET['taxper'], $_GET['taxamount'], $_GET['disper'], $_GET['disamount'], $_GET['othercharg'], $_GET['validday'], $_GET['payment'], $_GET['delperod'], $_GET['delschedule'], $_GET['remark'], $_GET['spinate'], $_GET['PRODUCTID']);
        echo "<font class='success'>Firm added successfully</font>";
    }
}
if (isset($_POST['firm_id_tender']) && $_POST['firm_id_tender'] != '') {
    $result_firm_tender = $obj->Schedule_Peride($_POST['firm_id_tender']);
    echo json_encode($result_firm_tender);
}
if (isset($_GET['pidProductFirm']) && $_GET['pidProductFirm'] != '') {
    $update_product_firm = $obj->UpdateProductFirm($_GET['category'], $_GET['inspection'], $_GET['discription'], $_GET['consignee'], $_GET['quantity'], $_GET['unitX'], $_GET['pidProductFirm']);
    $mj = $obj->ProductFirmAfterUpdate($_GET['pidProductFirm']);
    $my_unit = $obj->unit($mj['unit']);
    $my_inspection = $obj->inspection($mj['inspection']);
    ?>
    <td><input type="text" name="category_update[]" style="width:200px;" class="kareena" value="<?php 
    echo $mj['item_name'] . ":-" . $mj['item_discription'];
    ?>
" id="category_update_0" readonly="readonly" />
    </td>
    <td><input type="text" id="inspection_update_0" name="inspection_update[]" class="selectD" style="width:120px;" value="<?php 
    echo $my_inspection;
    ?>
" readonly="readonly" />
    </td>
    <td>
    <input type="text" name="discription_update[]" class="kareena" id="discription_update_0" readonly="readonly" value="<?php 
    echo $mj['discription'];
">
 <td style="width:280px; word-wrap:break-word;">
 <?php 
    echo $mk['item_discription'];
    ?>
<font style="font-size:10px; color:#000099;">
 [Consignee : <?php 
    echo $mk['main_csign_short_name'];
    ?>
]</font>
 <br/>
 <font style="font-size:10px; color:#000099;">[Quantity : <?php 
    echo $mk['quantity'];
    ?>
 <font style="color:#000000;"><?php 
    echo $u = $obj->unit($mk['unit']);
    ?>
]</font>
</td>
  <td colspan="2" style="width:70px;">
 <?php 
    if ($tender_details['firm_status'] == 0 && $tender_details['status'] == 0) {
        ?>
 <a style="font-size:12px; margin-left:10px;" href="rate_tender.php?id=<?php 
        echo $_GET['id'];
        ?>
&p=<?php 
        echo $mk['id'];
        ?>
&val=<?php 
        echo $_GET['val'];
예제 #3
0
echo $tender_details['tender_number'];
?>
 </span><span style="margin-left:180px;">Due Date/Time : <?php 
echo $tender_details['tender_due_date'];
?>
 <?php 
echo $tender_details['tender_time'];
?>
</span></div>
<p>(All Rates are per Unit in Indian Rupees)</p>
<p style="font-size:19px;">Total Value of Tender (INR): 3,904,182</p>
<?php 
foreach ($product_details as $pd) {
    ?>
<p>Unit : <?php 
    echo $my_unit = $obj->unit($pd['unit']);
    ?>
</p>
<p style="text-align:left;">Product Category : <?php 
    echo $pd['item_name'];
    ?>
</p>
<p style="text-align:left;">Product Description : <?php 
    echo $pd['item_discription'];
    ?>
</p>
 <?php 
    $firms_in_products = $obj->Firms_In_Tabulation_stmt($pd['id']);
    ?>
 <table width="1200" border="1" style="page-break-inside:auto;">
  <tr>
예제 #4
0
<td class="info_p_td">&nbsp;<?php 
print_r($product_details['main_csign_short_name']);
?>
</td>
</tr>
<tr class="info_p_tr">
<td style="width:100px;">Quantity :</td>
<td class="info_p_td">&nbsp;<?php 
print_r($product_details['quantity']);
?>
</td>
</tr>
<tr class="info_p_tr">
<td style="width:100px;">Unit :</td>
<td class="info_p_td">&nbsp;<?php 
echo $unit_new = $obj->unit($product_details['unit']);
?>
</td>
</tr>
</table>
</div>
<!--------------------DownLoad Files-------------------->
<div id="sub_right_info" style="float:left; width:400px;height:auto;">
<div id="old_info_span" style="min-height:40px; height:auto; padding-top:10px; border:none;">
<span style="margin-left:0px;font-size:18px; margin-top:10px;width:380px;word-wrap:break-word; border-bottom:1px solid #333;">
Attachements In Tender</span>
</div>
<table id="infos" style="margin-left:10px;margin-top:4px; width:350px; table-layout:fixed;">
<?php 
$sm = 0;
foreach ($attachments as $njX) {
예제 #5
0
    print_r($product_details[$i]['main_csign_short_name']);
    ?>
</a></td>

</tr>
<tr>
<td>Quantity : </td>
<td><?php 
    print_r($product_details[$i]['quantity']);
    ?>
</td>
<td width="19"></td>
</tr>
<tr>
<td>Unit : </td>
<td>
<?php 
    $show_unit = $obj->unit($product_details[$i]['unit']);
    echo $show_unit;
    ?>
</td>
</tr>
<tr>
<td colspan="2" style="border:1px solid #000;"></td>
</tr>
</table>

<?php 
}
?>
</body>
?>
</option>
          <?php 
//}
?>
         </select></td>
        </tr>
        <?php 
//	}
?>
    -->
<tr><th style="width:200px;">Item Category</th><th>Item Inspection</th><th style="width:200px;">Item Discription</th><th>Consignee</th><th>Quantity</th><th>Unit</th><th style="width:80px">Rate</th><th style="width:80px">Tax Type</th><th style="width:80px">Including All</th><th style="width:100px">Total Value</th><th style="width:180px;">Payment</th><th style="width:100px;">Paying Autority</th><th style="width:100px;">Inspection Place</th><th style="width:80px;">Delivery Date</th><th style="width:80px;">Quantity</th><!--<th>Edit</th>--><th>Delete</th>
</tr>
<?php 
foreach ($result as $v) {
    $my_unit = $obj->unit($v['unit']);
    $my_inspection = $obj->inspection($v['inspection']);
    $my_tax_type = $obj->taxType($v['taxtype']);
    $my_payment = $obj->paymentInPoOpt($v['taxtype']);
    if ($v['id'] == $_GET['tb_row']) {
        ?>
<tr>
<td><input type="text" name="category_update_X[]" style="width:200px; background:#FFF;" class="kareena" value="<?php 
        echo $v['item_name'] . ":-" . $v['item_discription'] . ':(' . $v['item_id'] . ')';
        ?>
" id="category_update_0_X" />
    </td>
    <td>
    <?php 
        $ins_opt = '_' . $v['inspection'];
        ${$ins_opt} = "selected='selected'";
예제 #7
0
    <br/>
    <div class="prodcut_info" style="height:auto; clear:both;">
    <div class="item_discription" style="clear:both; width:100%; word-wrap:break-word;">Item : <?php 
    echo $g['item_discription'];
    ?>
</div>
    <div class="consignee">Consignee : <?php 
    echo $g['main_csign_short_name'];
    ?>
</div>
    <div class="quantity"> Quantity : <?php 
    echo $g['quantity'];
    ?>
</div>
    <div class="unit">Unit : <?php 
    echo $unit = $obj->unit($g['unit']);
    ?>
</div>
    
    </div>
	<table id="dynamic_table" style="margin-top:10px;">
	<tr style="height:20px;"><td style="width:200px;border-right:1px solid #000; border-bottom:1px solid #000;"><b>Special Note</b></td>
	<td style="width:590px; padding-left:10px;border-bottom:1px solid #000;"><b>Detail of tender Product Rate</b></td>
	</tr>
		<?php 
    for ($i = 0; $i < 6; $i++) {
        ?>
			<tr>
			<td style="border-right:1px solid #000;border-bottom:1px solid #000;">&nbsp;</td>
			<td style="border-bottom:1px solid #000;">
			<table>