fixed service and revenue po
This commit is contained in:
parent
c8d3e82f41
commit
e8827694f5
@ -71,6 +71,15 @@ class servicepurchaseorder extends BaseController
|
||||
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
||||
$dt = $this->input->post('Deliverydt');
|
||||
$Deliverydt = $this->getDateformat($dt);
|
||||
$DeliveryOption = $this->input->post('DateRange');
|
||||
if($DeliveryOption==1){
|
||||
$Deliverydt = '';
|
||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||
}
|
||||
else{
|
||||
$Deliverydt = $this->getDateformat($dt);
|
||||
$DeliverySchedule = '';
|
||||
}
|
||||
$POType = $this->input->post('POType');
|
||||
|
||||
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
||||
@ -86,7 +95,7 @@ class servicepurchaseorder extends BaseController
|
||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||
$createddt = $dt->format('Y-m-d H:i:s');
|
||||
// PO Master
|
||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt );
|
||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus, 'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption, 'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt );
|
||||
|
||||
$POMaster = $this->purchaseorder_model->addPOMaster($POList);
|
||||
|
||||
|
||||
0
application/logs/log-2017-06-19.php
Normal file → Executable file
0
application/logs/log-2017-06-19.php
Normal file → Executable file
14
application/logs/log-2017-06-20.php
Normal file
14
application/logs/log-2017-06-20.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-06-20 07:09:20 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-20 07:09:20 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 139
|
||||
ERROR - 2017-06-20 07:09:20 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-20 07:09:20 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-20 07:09:20 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 214
|
||||
ERROR - 2017-06-20 07:18:29 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-06-20 08:15:30 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-06-20 08:16:37 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-20 08:16:37 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 139
|
||||
ERROR - 2017-06-20 08:16:37 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-20 08:16:37 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-20 08:16:37 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 214
|
||||
@ -409,7 +409,7 @@ $('#txtEditExciseDuty').change(function() {
|
||||
$('#txtVat').change(function() {
|
||||
if($('#Rate').val() != '' && $('#MaterialCode').val() != "0" )
|
||||
{
|
||||
$('#VatCalModel').modal('show');
|
||||
//$('#VatCalModel').modal('show');
|
||||
}
|
||||
|
||||
|
||||
@ -418,7 +418,7 @@ $('#txtEditVat').change(function() {
|
||||
|
||||
if($('#EditRate').val() != '' && $('#EditMaterialCode').val() != "0" )
|
||||
{
|
||||
$('#VatCalModel').modal('show');
|
||||
//$('#VatCalModel').modal('show');
|
||||
}
|
||||
|
||||
});
|
||||
@ -426,7 +426,7 @@ $('#txtEditVat').change(function() {
|
||||
$('#txtCST').change(function() {
|
||||
if($('#Rate').val() != '' && $('#MaterialCode').val() != "0" )
|
||||
{
|
||||
$('#CSTCalModel').modal('show');
|
||||
//$('#CSTCalModel').modal('show');
|
||||
|
||||
}
|
||||
});
|
||||
@ -434,7 +434,7 @@ $('#txtEditCST').change(function() {
|
||||
|
||||
if($('#EditRate').val() != '' && $('#EditMaterialCode').val() != "0" )
|
||||
{
|
||||
$('#CSTCalModel').modal('show');
|
||||
//$('#CSTCalModel').modal('show');
|
||||
}
|
||||
});
|
||||
$('#drpFreight').change(function() {
|
||||
@ -1509,6 +1509,9 @@ var ExciseDuty = parseFloat($('#txtAfterExciseDuty').val());
|
||||
else if(FreightType == '<?php echo PERTRIP;?>')
|
||||
{
|
||||
AfterFreight = <?php echo FREIGHT_PERTRIP;?>;
|
||||
}
|
||||
else {
|
||||
AfterFreight = $("#txtEditFreight").val();
|
||||
}
|
||||
var AfterFreightval = parseFloat(AfterFreight).toFixed(2);
|
||||
|
||||
@ -2190,7 +2193,7 @@ body {
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:none;" id="CST">
|
||||
<div class="col-md-2 col-md-offset-2" >
|
||||
<div class="col-md-2" >
|
||||
<label>CST in %</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
|
||||
@ -78,6 +78,7 @@ $('#drpSupplier').change(function() {
|
||||
});
|
||||
|
||||
$('#ReqNo').change(function() {
|
||||
|
||||
|
||||
var id = $('#ReqNo').val();
|
||||
$("#AvlBudAmt").val('');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user