Import po

This commit is contained in:
saravanakumar_kandasami 2017-05-31 13:39:48 +05:30
parent 87aaf0b457
commit 5c6a629c75
4 changed files with 853 additions and 665 deletions

View File

@ -160,6 +160,10 @@ class purchaseorder extends BaseController
{
$ViewName = 'servicePurchaseorder';
}
else if($ReqType == IMPORT)
{
$ViewName = 'importpo';
}
$this->loadViews($ViewName, $this->global,$data, NULL);
}
}

View File

@ -0,0 +1,70 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
ERROR - 2017-05-31 08:49:00 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
ERROR - 2017-05-31 09:01:13 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
ERROR - 2017-05-31 09:25:06 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
ERROR - 2017-05-31 09:45:10 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:47:02 --> Severity: Notice --> Undefined index: RequisitionStatus C:\xampp\htdocs\siddharth_application\application\views\requisitionlistapproval.php 37
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Undefined variable: CompanyAddress C:\xampp\htdocs\siddharth_application\application\views\importpo.php 98
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 109
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 118
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:51:25 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Undefined variable: CompanyAddress C:\xampp\htdocs\siddharth_application\application\views\importpo.php 98
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 109
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Undefined variable: CurrentDate C:\xampp\htdocs\siddharth_application\application\views\importpo.php 118
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:52:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:54:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:54:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:54:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 201
ERROR - 2017-05-31 09:59:01 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2017-05-31 09:59:01 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2017-05-31 09:59:01 --> Unable to connect to the database
ERROR - 2017-05-31 09:59:06 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2017-05-31 09:59:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2017-05-31 09:59:06 --> Unable to connect to the database
ERROR - 2017-05-31 10:00:01 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 202
ERROR - 2017-05-31 10:00:01 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 202
ERROR - 2017-05-31 10:00:01 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 202
ERROR - 2017-05-31 10:02:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 212
ERROR - 2017-05-31 10:02:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 212
ERROR - 2017-05-31 10:02:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 212
ERROR - 2017-05-31 10:04:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
ERROR - 2017-05-31 10:04:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
ERROR - 2017-05-31 10:04:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
ERROR - 2017-05-31 10:05:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
ERROR - 2017-05-31 10:05:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
ERROR - 2017-05-31 10:05:22 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 221
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: RequistionDetails C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 115
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 116
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 117
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: MaterialList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 163
ERROR - 2017-05-31 10:07:39 --> Severity: Notice --> Undefined variable: CostList C:\xampp\htdocs\siddharth_application\application\views\alterpurchaseorder.php 191
ERROR - 2017-05-31 10:08:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 222
ERROR - 2017-05-31 10:08:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 222
ERROR - 2017-05-31 10:08:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\importpo.php 222

View File

@ -2792,7 +2792,7 @@ if(!empty($CompanyDetails))
</div>
</table>
<div class="row">
<!-- Revenue po taxes -->
<!-- Revenue po taxes tabel-->
<div class="col-md-12" style='border : 1px solid; display:none;' id="revenuepotaxes">
<br/>
<div class="col-md-12">
@ -2912,7 +2912,7 @@ if(!empty($CompanyDetails))
</div>
</div>
<!-- Service po taxes need to work-->
<!-- Service po taxes tabel-->
<div class="col-md-12 " style='border : 1px solid; display:none;' id="servicepotaxes">
<div class="col-md-12">
<div class="col-md-4">
@ -2995,6 +2995,136 @@ if(!empty($CompanyDetails))
</div>
<br/>
</div>
<!-- Import po taxes tabel-->
<div class="col-md-12 " style='border : 1px solid; display:none;' id="importpotaxes">
<div class="col-md-12">
<div class="col-md-4">
<label>Basic Amount :</label>
<?php
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount'),'id'=>'txtTotBasicAmount', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label>Landing Charge :</label>
<?php
$data = array('name' => 'landingcharge','value' => set_value('landingcharge'),'id'=>'landingcharge', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >High Ceas Sales Charge :</label>
<?php
$data = array('name' => 'highceassalescharge','value' => set_value('highceassalescharge'),'id'=>'highceassalescharge', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-12">
<div class="col-md-4">
<label >Custom Duty :</label>
<?php
$data = array('name' => 'customduty','value' => set_value('customduty'),'id'=>'customduty', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >Custom Duty Edu. Cess :</label>
<?php
$data = array('name' => 'custeducess','value' => set_value('custeducess'),'id'=>'custeducess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >Custom Duty Sec & High Cess :</label>
<?php
$data = array('name' => 'custsecandhighcess','value' => set_value('custsecandhighcess'),'id'=>'custsecandhighcess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-12">
<div class="col-md-4">
<label >Excise Duty :</label>
<?php
$data = array('name' => 'exciseduty','value' => set_value('exciseduty'),'id'=>'exciseduty', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >Excise Duty Edu. Cess :</label>
<?php
$data = array('name' => 'excieducess','value' => set_value('excieducess'),'id'=>'excieducess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >Excise Duty Sec & High Cess :</label>
<?php
$data = array('name' => 'excisecandhighcess','value' => set_value('excisecandhighcess'),'id'=>'excisecandhighcess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-12">
<div class="col-md-4">
<label >Additional Excise Duty :</label>
<?php
$data = array('name' => 'addexciseduty','value' => set_value('addexciseduty'),'id'=>'addexciseduty', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >Gross Duty Payable :</label>
<?php
$data = array('name' => 'grossdutypayable','value' => set_value('grossdutypayable'),'id'=>'grossdutypayable', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-4">
<label >Available Modvat Set-off On Import :</label>
<?php
$data = array('name' => 'availmodvat','value' => set_value('availmodvat'),'id'=>'availmodvat', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-6 col-md-offset-6">
<br/>
<div class="col-md-6" align="right"> <label >Gross Expenses Due To Custome Duty :</label></div>
<div class="col-md-6">
<?php
$data = array('name' => 'grocessexpenses','value' => set_value('grocessexpenses'),'id'=>'grocessexpenses', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-12">
<div class="col-md-12">
<label>Comments Of Special Instructions :</label> <?php
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control' ,'rows' => '4', 'cols' => '40' );
echo form_textarea($data); ?>
</div>
</div>
<div class="col-md-12">
<div class="row">
<br/>
<div align="right" style="padding-right:10px">
<input type="hidden" name="txtStatus" id="txtStatus" />
<input type="hidden" name="txtRowCount" id="txtRowCount" />
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
<input type="hidden" name="SpcialInstruction" id="SpcialInstruction" >
<input type="hidden" name="txtDeliveryAddress" id="txtDeliveryAddress" >
<a class="btn btn-primary Save" ID="Save"onclick="Save(0)" >&nbsp;&nbsp;<span class="bold">Save</span></a>
<a class="btn btn-primary Submit" ID="Submit"onclick="Save(1)" >&nbsp;&nbsp;<span class="bold">Submit</span></a>
<input type="reset" class="btn btn-primary">
</div><br/>
</div>
</div>
<br/>
</div>
</div>
</div>
@ -3287,6 +3417,7 @@ if(!empty($CompanyDetails))
$("#revenuepotaxes").show();
$("#currencyexchange").hide();
$("#servicepotaxes").hide();
$("#importpotaxes").hide();
}
else if ( this.value == 'SERVICE') // Service po
{
@ -3294,9 +3425,11 @@ if(!empty($CompanyDetails))
$("#currencyexchange").hide();
$("#txtPoRange").hide();
$("#revenuepotaxes").hide();
$("#importpotaxes").hide();
}
else if ( this.value == 'IMPORT') // Import pop
{
$("#importpotaxes").show();
$("#currencyexchange").show();
$("#txtPoRange").hide();
$("#revenuepotaxes").hide();
@ -3304,6 +3437,7 @@ if(!empty($CompanyDetails))
}
else if ( this.value == 'CAPITAL') // Capital po
{
$("#importpotaxes").hide();
$("#currencyexchange").show();
$("#txtPoRange").hide();
$("#revenuepotaxes").hide();
@ -3315,6 +3449,7 @@ if(!empty($CompanyDetails))
$("#txtPoRange").hide();
$("#revenuepotaxes").hide();
$("#servicepotaxes").hide();
$("#importpotaxes").hide();
}
});
});

View File

@ -1,100 +1,82 @@
<style>
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {border: 1px solid #333;}
.modal
{
padding-right:25% ! important;
}
.dataTables_paginate
{
margin-top: -5%;
}
.dataTables_wrapper {
padding-bottom: 0px;
}
</style>
<script>
$(document).ready(function(){
//Initialize Select2 Elements
$("#drpSupplier").select2();
$("#PODate").datepicker({
//minDate : d,
maxDate : 'now',
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '-100:+0'
});
$("#Deliverydt").datepicker({
minDate : 'now',
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,yearRange: '0:+10'
});
});
</script>
<div class="content-wrapper">
<?php
$attributes = array('class' => 'form-label-left ImportPO ','name' => 'ImportPO','id' => 'ImportPO');
echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?>
<section class="content">
<div style="border:2px solid #333">
<center><b><h2>Import Purchase Order</h2></b></center>
<center><b><h2>Siddharth Industries - Import Purchase Order</h2></b></center>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-3">
<label>Requistion No</label>
<div class="form-control">
<?php
$options = array("0"=>'Requistion No');
//print_r( $options);
if(!empty($POType))
$options = array("0"=>'Selected Requisition Numbers');
if(!empty($ReqList))
{
foreach ($SupplierName as $SID):
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
foreach ($ReqList as $SID):
// print_r($SID->ReqNo);
$options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy;
$ReqType = $SID->ReqType;
endforeach;
}
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"');
?>
</div>
</div>
<div class="col-md-3">
<label>PO Date</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-3">
<label>Purchase Order Type</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-3">
<label>Select Currency Type</label>
<div class="form-control">
<?php
$options = array("0"=>'Select Currency Type');
//print_r( $options);
if(!empty($POType))
{
foreach ($SupplierName as $SID):
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
endforeach;
}
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
?>
</div>
</div>
</div>
<div class="col-md-9">
<div class="col-md-4">
<div class="col-md-12">
<div class="col-md-3">
<label>Exchange Rate</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-3">
<label>Supplier</label>
<div class="form-control">
<?php
$options = array("0"=>'Supplier');
$options = array("0"=>'Select Supplier');
//print_r( $options);
if(!empty($POType))
if(!empty($Suplist))
{
foreach ($SupplierName as $SID):
foreach ($Suplist as $SID):
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
@ -102,29 +84,64 @@
endforeach;
}
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2');
?>
</div>
</div>
<div class="col-md-3">
<div class="col-md-12"><br/>
<label>Address</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40');
echo Form_textarea($data);
?>
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-12">
<label>Purchase Order Type</label>
<div class="form-group">
<?php
$data = array('name' => 'POType','value' => set_value('POType',IMPORT),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-3">
<label>Country</label>
<div class="col-md-12">
<label>Delivery Address</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'DeliveryAddr','value' => set_value('DeliveryAddr'),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
echo Form_textarea($data);
?>
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-12">
<label>Purchase Order Date</label>
<div class="form-group">
<?php
$data = array('name' => 'PODate','value' => set_value('PODate'),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-12">
<label>Delivery Date</label>
<div class="form-group">
<?php
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt'),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
echo form_input($data);
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@ -133,38 +150,26 @@
<table class="table table-bordered" style="border:1px solid #333">
<div align="right" style="padding-right:10px">
<div align="right">
<a data-toggle="modal" data-target="#myModal1"><button type="button" class="btn btn-primary" data-dismiss="modal" >Add Line Item</button> </a>
<a data-toggle="modal" data-target="#importpomodel" class="btn btn-primary" data-dismiss="modal" >Add Line Item </a>
<div class="modal fade" id="myModal1" role="dialog">
<div class="modal fade" id="importpomodel" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<form>
<div class="modal-content" style="width:900px;">
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<center><h4>Add Item </h4></center>
<center><h4>Add Import Purchase Order Item </h4></center>
</div>
<div align="left">
<div class="col-md-12">
<div class="col-md-3">
<label>Req No</label>
<div class="form-control">
<div>
<?php
$options = array("0"=>'Req No');
//print_r( $options);
if(!empty($POType))
{
foreach ($SupplierName as $SID):
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
endforeach;
}
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'required="true"');
echo form_dropdown('ImportMaterialCode', $options,set_value('ImportMaterialCode'),'id="ImportMaterialCode"' ,'class="form-control required"');
?>
</div>
@ -174,7 +179,7 @@
<label>Department Name</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ImportDepartmentName','value' => set_value('ImportDepartmentName'),'id'=>'ImportDepartmentName', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -183,8 +188,10 @@
<label>Cost Center Name</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
echo form_input($data);
$options = array("0"=>'Select Cost Center');
echo form_dropdown('ImportCostCenter', $options,set_value('ImportCostCenter'),'id="ImportCostCenter"' ,'class="form-control"');
?>
</div>
</div>
@ -192,7 +199,7 @@
<label>Available Budget Amount</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'importbudAmt','value' => set_value('importbudAmt'),'id'=>'importbudAmt', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -201,32 +208,33 @@
<div class="col-md-12">
<div class="col-md-2">
<label>Item Code</label>
<div class="form-control">
<!-- In this item code the value should come from DB , so it getting error , so i am disabling this div , once get the data from DB uncommand this div
<div>
<?php
$options = array("0"=>'Item Code');
//print_r( $options);
if(!empty($POType))
if(!empty($MaterialList))
{
foreach ($SupplierName as $SID):
foreach ($MaterialList as $SID):
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
$options[$SID->MaterialCode] = $SID->MaterialCode.' '.' - '.' '.$SID->MaterialName;
endforeach;
}
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
echo form_dropdown('ImportMaterialCode', $options,set_value('ImportMaterialCode'),'id="ImportMaterialCode"' ,'class="form-control"');
?>
</div>
</div> -->
</div>
<div class="col-md-2">
<label>Item Name</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ImportItemName','value' => set_value('ImportItemName'),'id'=>'ImportItemName', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -235,7 +243,7 @@
<label>UOM</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ImUOM','value' => set_value('ImUOM'),'id'=>'ImUOM', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -244,25 +252,25 @@
<label>Quantity</label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'imQuantity','value' => set_value('imQuantity'),'id'=>'imQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-2">
<label>Rate Per unit</label>
<label>Rate </label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'imRate','value' => set_value('imRate'),'id'=>'imRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);' );
echo form_input($data);
?>
</div>
</div>
<div class="col-md-2">
<label>Total Amount</label>
<label>Basic Amount </label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'imTotalAmount','value' => set_value('imTotalAmount'),'id'=>'imTotalAmount', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -270,61 +278,53 @@
</div>
<div class="col-md-12">
<div class="col-md-4">
<div class="col-md-6">
<div class="col-md-3">
Basic Price in US $ per Ton :
</div>
<div class="col-md-6">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'placeholder '=>'basic price','required' => 'true');
$data = array('name' => 'imBasicPrice','value' => set_value('imBasicPrice'),'id'=>'imBasicPrice', 'class' => 'form-control' ,'placeholder '=>'basic price','onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-6">
<div class="col-md-3">
Exchange Rate :
</div>
<div class="col-md-6">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-3">
</div>
<div class="col-md-4">
<div class="col-md-6">
Basic value in INR :
</div>
<div class="col-md-6">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'INRBasicvalue','value' => set_value('INRBasicvalue'),'id'=>'INRBasicvalue', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
<!--<div class="col-md-3">
<a href="http://www.xe.com/" target="_blank"><u>Click nere to check Today's Foreign Exchange value</u></a>
</div>-->
</div>
<div class="col-md-12" style="border:1px solid #000;">
<div class="col-md-12" style="border:1px solid #000;padding:0px;">
<br/>
<div class="col-md-6">
<div class="col-md-6" style="padding:0px;">
<div class="col-md-12">
<div class="col-md-4" >
Basic Price:
@ -332,7 +332,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'BasicPriceTax','value' => set_value('BasicPriceTax'),'id'=>'BasicPriceTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -340,7 +340,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterBasicPriceTax','value' => set_value('AfterBasicPriceTax'),'id'=>'AfterBasicPriceTax', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -353,7 +353,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'LandingCharge','value' => set_value('LandingCharge'),'id'=>'LandingCharge', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -361,7 +361,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterLandingCharge','value' => set_value('AfterLandingCharge'),'id'=>'AfterLandingCharge', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -374,7 +374,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'Highseas ','value' => set_value('Highseas'),'id'=>'Highseas', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -382,7 +382,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterHighseas','value' => set_value('AfterHighseas'),'id'=>'AfterHighseas', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -395,7 +395,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'Customduty','value' => set_value('Customduty'),'id'=>'Customduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -403,7 +403,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterCustomduty','value' => set_value('AfterCustomduty'),'id'=>'AfterCustomduty', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -416,7 +416,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ExcisedutyTax','value' => set_value('ExcisedutyTax'),'id'=>'ExcisedutyTax', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -424,7 +424,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterExcisedutyTax','value' => set_value('AfterExcisedutyTax'),'id'=>'AfterExcisedutyTax', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -437,7 +437,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ExcisedutyEDcess','value' => set_value('ExcisedutyEDcess'),'id'=>'ExcisedutyEDcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -445,7 +445,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterExcisedutyEDcess','value' => set_value('AfterExcisedutyEDcess'),'id'=>'AfterExcisedutyEDcess', 'class' => 'form-control','readonly' => 'true');
echo form_input($data);
?>
</div>
@ -458,7 +458,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'ExcisedutySHcess','value' => set_value('ExcisedutySHcess'),'id'=>'ExcisedutySHcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -466,7 +466,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterExcisedutySHcess','value' => set_value('AfterExcisedutySHcess'),'id'=>'AfterExcisedutySHcess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -479,7 +479,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'CustomEDcess','value' => set_value('CustomEDcess'),'id'=>'CustomEDcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -487,7 +487,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterCustomEDcess','value' => set_value('AfterCustomEDcess'),'id'=>'AfterCustomEDcess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -500,7 +500,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'CustomSHcess','value' => set_value('CustomSHcess'),'id'=>'CustomSHcess', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -508,14 +508,14 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterCustomSHcess','value' => set_value('AfterCustomSHcess'),'id'=>'AfterCustomSHcess', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="col-md-6" style="padding:0px;">
<div class="col-md-12">
<div class="col-md-4">
Additional Excise duty : (g)
@ -523,7 +523,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AdditionalExciseduty ','value' => set_value('AdditionalExciseduty'),'id'=>'AdditionalExciseduty', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -531,7 +531,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AfterAdditionalExciseduty','value' => set_value('AfterAdditionalExciseduty'),'id'=>'AfterAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -544,7 +544,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'Grossdutypayable ','value' => set_value('Grossdutypayable'),'id'=>'Grossdutypayable', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -557,7 +557,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'AvailableModvat','value' => set_value('AvailableModvat'),'id'=>'AvailableModvat', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?> (b + c + d + g)
</div>
@ -572,7 +572,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'Grossexpenses','value' => set_value('Grossexpenses'),'id'=>'Grossexpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -590,16 +590,16 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'purchaserate','value' => set_value('purchaserate'),'id'=>'purchaserate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
</div>
<div class="col-md-4">
<div class="col-md-4" style="margin-top: -4.8%">
<span>Quantity</span>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'PurQuantity','value' => set_value('PurQuantity'),'id'=>'PurQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -614,7 +614,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'CustomDutyExpenses ','value' => set_value('CustomDutyExpenses'),'id'=>'CustomDutyExpenses', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -628,7 +628,7 @@
<div class="col-md-4">
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
$data = array('name' => 'RMCIncludingCustomers','value' => set_value('RMCIncludingCustomers'),'id'=>'RMCIncludingCustomers', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);');
echo form_input($data);
?>
</div>
@ -644,8 +644,8 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" value="submit">Add</button>
<button type="button" class="btn btn-default" value="submit" data-dismiss="modal">Cancel</button>
<a class="btn btn-info font AddImport" ID="AddImport" ><i class="fa fa-plus"></i>&nbsp;&nbsp;<span class="bold">Add Import</span></a>
<a class="btn btn-info" data-dismiss="modal" value="Cancel">Cancel</a>
</div>
</div>
@ -658,50 +658,28 @@
<br/>
<thead style="background-color:#fff">
<div class="box-body" style="margin-top: -3%;">
<table id="serviceTax" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
<thead style="background-color:#ddf">
<tr>
<th><input type="checkbox" name="name1" />&nbsp;</th>
<th>R No</th>
<th>SNo</th>
<th>Requisition No</th>
<th>Item Name</th>
<th>Quantity</th>
<th>UOM</th>
<th>Rate</th>
<th>Tax %</th>
<th>Total</th>
<th>Basic Amount</th>
<th>Tax Amount</th>
<th>Total Order Amount</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" name="name2" />&nbsp;</td>
<td>1</td>
<td>001</td>
<td>Waste Sand</td>
<td>Ton</td>
<td>100</td>
<td>High</td>
<td>No Change</td>
</tr>
<tr>
<td><input type="checkbox" name="name2" />&nbsp;</td>
<td>2</td>
<td>002</td>
<td>Resin</td>
<td>Litre</td>
<td>50</td>
<td>High</td>
<td>Change</td>
</tr>
<tr>
<td><input type="checkbox" name="name2" />&nbsp;</td>
<td>3</td>
<td>003</td>
<td>Resin</td>
<td>Litre</td>
<td>100</td>
<td>High</td>
<td>Change</td>
</tr>
<tbody id='ImportAppend'>
</tbody>
</table>
</div>
</table>
<div class="col-md-3 col-md-offset-9">
@ -721,5 +699,6 @@
<br/>
</div>
</div>
</section>
</div>