WTF isnt the shipment register saving stuff??
This commit is contained in:
parent
fc57e42ffc
commit
42f3972945
|
|
@ -36,7 +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->data);
|
||||||
|
print_r($this->errors);
|
||||||
if(!empty($this->data)) {
|
if(!empty($this->data)) {
|
||||||
if ($this->Shipment->saveAll($this->data)) {
|
if ($this->Shipment->saveAll($this->data)) {
|
||||||
echo "SUCCESS";
|
echo "SUCCESS";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue