WTF isnt the shipment register saving stuff??

This commit is contained in:
Karl Cordes 2011-05-02 09:14:07 +10:00
parent fc57e42ffc
commit 42f3972945

View file

@ -36,7 +36,8 @@ class ShipmentsController extends AppController {
function ajax_edit() {
$this->layout = 'ajax';
print_r($this->data);
//print_r($this->data);
print_r($this->errors);
if(!empty($this->data)) {
if ($this->Shipment->saveAll($this->data)) {
echo "SUCCESS";