CHANGE_PURCHASE_ORDER_ISSUE_SERVICE_CONFLICT
This commit is contained in:
commit
71f2de282d
@ -1215,8 +1215,6 @@ class Purchaseorder extends BaseController
|
||||
//This used to Edit the Revenue Purchase Order
|
||||
function EditRevenuePurchaseOrder()
|
||||
{
|
||||
|
||||
|
||||
$PONO = $this->request->getPost('txtPONO');
|
||||
$POdt = $this->request->getPost('PODate');
|
||||
$PODate = get_date_time_format($POdt);
|
||||
@ -1455,10 +1453,11 @@ class Purchaseorder extends BaseController
|
||||
|
||||
$POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO, $POLineItemNo, $POLineItemList);
|
||||
}
|
||||
|
||||
$isExists = $this->purchaseorder_model->LineItemExistsinRevenueTax($LineItemNo);
|
||||
|
||||
if (count($isExists) == 0) {
|
||||
|
||||
|
||||
if (is_array($isExists) && count($isExists) == 0) {
|
||||
|
||||
} else {
|
||||
$RevenueTaxList = array('DiscountType' => $DiscountType, 'DiscountValue' => $DiscountValue, 'AfterDiscount' => $AfterDiscount, 'PackagingType' => $PackagingType, 'PackagingValue' => $PackagingValue, 'PackagingCalulatedOn' => $PackagingOption, 'AfterPackagingValue' => $AfterPackagingValue, 'FreightType' => $FreightType, 'FreightValue' => $FreightValue, 'AfterFreightValue' => $AfterFreightValue, 'Insurance' => $InsuranceValue, 'TotalValue' => $TotalOrderValue, 'UpdateBY' => $updatedBy, 'UpdatedOn' => $updateddt, 'CGST' => $Cgst, 'AfterCGST' => $AfterCgst, 'SGST' => $Sgst, 'AfterSGST' => $AfterSgst, 'IGST' => $Igst, 'AfterIGST' => $AfterIgst, 'CreatedBy' => $updatedBy, 'NoOfTrip' => $NOOfTrip);
|
||||
$this->purchaseorder_model->updateRevenueTax($LineItemNo, $RevenueTaxList);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -4000,12 +4000,12 @@ if (!empty($getlogpodtl)) {
|
||||
<td align="left">${Reqnumber}</td>
|
||||
<td align="left">${materialCode}</td>
|
||||
<td align="left">${materialName}</td>
|
||||
<td align="right">${quantity}</td>
|
||||
<td align="left">${quantity}</td>
|
||||
<td align="left">${uom}</td>
|
||||
<td align="right">${itemRate}</td>
|
||||
<td align="right">${basicval}</td>
|
||||
<td align="right">${TotalTaxValue}</td>
|
||||
<td align="right">${TotalOrderValue}</td>
|
||||
<td align="left">${itemRate}</td>
|
||||
<td align="left">${basicval}</td>
|
||||
<td align="left">${TotalTaxValue}</td>
|
||||
<td align="left">${TotalOrderValue}</td>
|
||||
<td>
|
||||
<a data-target='#EDITREVENUE' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITREVENUE">
|
||||
<i class="ri-pencil-fill"></i>
|
||||
@ -4896,7 +4896,7 @@ if (!empty($getlogpodtl)) {
|
||||
// window.location = "purchaseorderListing";
|
||||
|
||||
} else {
|
||||
alert("Error");
|
||||
alert("Something went wrong");
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@ -315,7 +315,7 @@ if (empty($Status)) {
|
||||
/* MSG*/
|
||||
var answer = confirm(strMsg);
|
||||
if (answer) {
|
||||
$('#content').loader('show');
|
||||
$('#loader').show();
|
||||
$.ajax({
|
||||
data: {
|
||||
PONO: PO,
|
||||
@ -326,7 +326,7 @@ if (empty($Status)) {
|
||||
url: "<?php echo base_url() ?>purchaseorder/ReleasePO",
|
||||
success: function(data) {
|
||||
if (data) {
|
||||
$('#content').loader('hide');
|
||||
$('#loader').hide();
|
||||
alert(data);
|
||||
location.reload();
|
||||
} else {
|
||||
@ -388,7 +388,7 @@ if (empty($Status)) {
|
||||
$("#txtSpcialInstruction").val('');
|
||||
$('#AlertImg').attr("style", "display:none;");
|
||||
|
||||
$('#content').loader('show');
|
||||
$('#loader').show();
|
||||
$.ajax({
|
||||
data: {
|
||||
id: ReqId
|
||||
@ -397,8 +397,8 @@ if (empty($Status)) {
|
||||
dataType: 'json',
|
||||
url: "<?php echo base_url() ?>requisitionform/ViewRequest",
|
||||
success: function(json) {
|
||||
// success:function(data) {
|
||||
$('#content').loader('hide');
|
||||
|
||||
$('#loader').hide();
|
||||
//alert(data);
|
||||
$("#ReqType").val(json.Requist[0]['ReqType']);
|
||||
$("#ReqBy").val(json.Requist[0]['Requestedby']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user