CHANGE_EMERGENCY_PO_LINE_TIME_ISSUE
This commit is contained in:
parent
1e218bfcf3
commit
14ed445419
@ -240,7 +240,6 @@ class Emergencypurchaseorder extends BaseController
|
||||
|
||||
// PO Line Items
|
||||
$LineItemStatus = REQITEM_NEW;
|
||||
|
||||
for ($i = 1; $i <= $RowCount; $i++) {
|
||||
$Per = $this->request->getPost('Serviceper' . $i);
|
||||
$MaterialCode = $this->request->getPost('materialCode' . $i);
|
||||
@ -387,7 +386,7 @@ class Emergencypurchaseorder extends BaseController
|
||||
function addNewRevenuePurchaseOrder()
|
||||
{
|
||||
|
||||
// print_r($this->request->getPost());die;
|
||||
print_r($this->request->getPost());die;
|
||||
$txtspl = $this->request->getPost('txtSpecial');
|
||||
|
||||
|
||||
@ -870,7 +869,7 @@ class Emergencypurchaseorder extends BaseController
|
||||
|
||||
$this->session->setFlashdata('success', 'You Have Successfully Created the Purchase order! '.$PONO);
|
||||
// return redirect()->route('purchaseorderListing');
|
||||
return true;
|
||||
return json_encode("111111111");
|
||||
|
||||
// echo "<script>alert('You Have Successfully created the Purchase order! $PONO');</script>";
|
||||
// redirect('purchaseorder/PurchaseOrderList', 'refresh');
|
||||
|
||||
@ -5700,7 +5700,9 @@ if (!empty($INRSYMBOL)) {
|
||||
populateValueMainFormForRevenue();
|
||||
|
||||
|
||||
|
||||
if(index -1 == 0){
|
||||
$('#ServiceAppend').empty();
|
||||
}
|
||||
index = parseInt(index) + 1;
|
||||
|
||||
var template = jQuery("#RevenueList").html();
|
||||
@ -5719,15 +5721,16 @@ if (!empty($INRSYMBOL)) {
|
||||
<td>${TotalOrderValue}</td>
|
||||
</tr>
|
||||
`;
|
||||
$('#RevenueAppend').empty();
|
||||
$('#ServiceAppend').empty();
|
||||
|
||||
|
||||
|
||||
$('#RevenueAppend').append(html);
|
||||
// $('#serviceTax').row.add($(html)).draw();
|
||||
|
||||
|
||||
var theForm = $(".CreatealterPO");
|
||||
|
||||
console.log("hidden inputs ");
|
||||
|
||||
addHidden(theForm, "Reqnumber" + temp, Reqnumber);
|
||||
addHidden(theForm, "departmentName" + temp, departmentName);
|
||||
addHidden(theForm, "AvilBudget" + temp, (AvilBudget ? AvilBudget : 0));
|
||||
@ -6386,7 +6389,10 @@ if (!empty($INRSYMBOL)) {
|
||||
|
||||
populateValueMainFormForServiceTax();
|
||||
|
||||
|
||||
if(index - 1 == 0){
|
||||
$('#ServiceAppend').empty();
|
||||
$('#RevenueAppend').empty();
|
||||
}
|
||||
index = parseInt(index) + 1;
|
||||
|
||||
var template = jQuery("#ServiceList").html();
|
||||
@ -6405,9 +6411,9 @@ if (!empty($INRSYMBOL)) {
|
||||
<td>${TotalOrderValue}</td>
|
||||
</tr>
|
||||
`;
|
||||
$('#ServiceAppend').empty();
|
||||
$('#RevenueAppend').empty();
|
||||
|
||||
console.log("index");
|
||||
console.log(index);
|
||||
|
||||
$('#ServiceAppend').append(html);
|
||||
|
||||
|
||||
@ -7059,7 +7065,7 @@ $('#content').loader('hide');
|
||||
$('#txtDeletedRow1').val('');
|
||||
$('#SpcialInstruction').val('');
|
||||
$('#txtDeliveryAddress').val('');
|
||||
window.location = "purchaseorderListing";
|
||||
// window.location = "purchaseorderListing";
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
// Handle errors
|
||||
|
||||
Loading…
Reference in New Issue
Block a user