WHYYY
This commit is contained in:
parent
42f3972945
commit
0757962b8c
|
|
@ -36,10 +36,8 @@ class ShipmentsController extends AppController {
|
||||||
|
|
||||||
function ajax_edit() {
|
function ajax_edit() {
|
||||||
$this->layout = 'ajax';
|
$this->layout = 'ajax';
|
||||||
//print_r($this->data);
|
|
||||||
print_r($this->errors);
|
|
||||||
if(!empty($this->data)) {
|
if(!empty($this->data)) {
|
||||||
if ($this->Shipment->saveAll($this->data)) {
|
if ($this->Shipment->save($this->data)) {
|
||||||
echo "SUCCESS";
|
echo "SUCCESS";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue