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

@ -159,6 +159,10 @@ class purchaseorder extends BaseController
else if($ReqType == SERVICE)
{
$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>
@ -3280,13 +3410,14 @@ if(!empty($CompanyDetails))
});
});
$(document).ready(function(){
$('#RequestType').on('change', function() {
$('#RequestType').on('change', function() {
if ( this.value == 'REVENUE') //Revenue po
{
$("#txtPoRange").show();
$("#revenuepotaxes").show();
$("#currencyexchange").hide();
$("#servicepotaxes").hide();
$("#importpotaxes").hide();
}
else if ( this.value == 'SERVICE') // Service po
{
@ -3294,16 +3425,19 @@ 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();
$("#servicepotaxes").hide();
}
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();
}
});
});

File diff suppressed because it is too large Load Diff