WTF isnt the shipment register saving stuff??
This commit is contained in:
parent
1f58e31e48
commit
fc57e42ffc
|
|
@ -36,7 +36,7 @@ class ShipmentsController extends AppController {
|
||||||
|
|
||||||
function ajax_edit() {
|
function ajax_edit() {
|
||||||
$this->layout = 'ajax';
|
$this->layout = 'ajax';
|
||||||
|
print_r($this->data);
|
||||||
if(!empty($this->data)) {
|
if(!empty($this->data)) {
|
||||||
if ($this->Shipment->saveAll($this->data)) {
|
if ($this->Shipment->saveAll($this->data)) {
|
||||||
echo "SUCCESS";
|
echo "SUCCESS";
|
||||||
|
|
@ -48,7 +48,7 @@ class ShipmentsController extends AppController {
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "FAILURE";
|
echo "NO-DATA";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue