GWM : issue fixed
This commit is contained in:
parent
24c2ce02c8
commit
0faa4380d5
@ -517,7 +517,6 @@ class QuotationController extends ResourceController
|
|||||||
|
|
||||||
$quotationData = $this->request->getJSON(true);
|
$quotationData = $this->request->getJSON(true);
|
||||||
|
|
||||||
print_r($quotationData);
|
|
||||||
|
|
||||||
if (empty($quotationData['quotation_id'])) {
|
if (empty($quotationData['quotation_id'])) {
|
||||||
return $this->respond([
|
return $this->respond([
|
||||||
@ -536,9 +535,6 @@ class QuotationController extends ResourceController
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$quotationId = $quotationData['quotation_id'];
|
|
||||||
unset($quotationData['quotation_id']);
|
|
||||||
|
|
||||||
$this->QuotationModel->update($quotationId, $quotationData);
|
$this->QuotationModel->update($quotationId, $quotationData);
|
||||||
|
|
||||||
return $this->respond(['status' => 'success','code' => 200,'message'=> 'Quotation updated'], 200);
|
return $this->respond(['status' => 'success','code' => 200,'message'=> 'Quotation updated'], 200);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user