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() {
|
||||
$this->layout = 'ajax';
|
||||
|
||||
print_r($this->data);
|
||||
if(!empty($this->data)) {
|
||||
if ($this->Shipment->saveAll($this->data)) {
|
||||
echo "SUCCESS";
|
||||
|
|
@ -48,7 +48,7 @@ class ShipmentsController extends AppController {
|
|||
|
||||
}
|
||||
else {
|
||||
echo "FAILURE";
|
||||
echo "NO-DATA";
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue