Added debuggin code to the JSON jobs generator to try and figure this shit out
This commit is contained in:
parent
ffa2710baa
commit
e81da1980d
|
|
@ -66,7 +66,7 @@ class JobsController extends AppController {
|
|||
|
||||
$customers = $this->Job->Enquiry->Customer->find('list');
|
||||
$this->set('customers', $customers);
|
||||
$this->set('currencies', $this->Job->Currency->find('list'));
|
||||
//$this->set('currencies', $this->Job->Currency->find('list'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -89,4 +89,6 @@ foreach($jobs as $job) {
|
|||
|
||||
$jsonObj = json_encode($recordObj);
|
||||
echo $jsonObj;
|
||||
?>
|
||||
?>
|
||||
|
||||
<?=debug($jobs);?>
|
||||
|
|
@ -71,7 +71,6 @@ jQuery(document).ready(function(){
|
|||
"GOODS SHIPPED TO CUSTOMER - CMC WAITING ON PAYMENT:GOODS SHIPPED TO CUSTOMER - CMC WAITING ON PAYMENT; WAITING ON PAYMENT AND ANOTHER DELIVERY:WAITING ON PAYMENT AND ANOTHER DELIVERY;"+
|
||||
"GOODS DELIVERED TO CUSTOMER & PAID IN FULL:GOODS DELIVERED TO CUSTOMER & PAID IN FULL; PAID IN FULL WAITING ON DELIVERY:PAID IN FULL WAITING ON DELIVERY; JOB CANCELLED:JOB CANCELLED;"+
|
||||
"JOB ON HOLD:JOB ON HOLD; CUSTOMER TO PAY 100% WITH ORDER:CUSTOMER TO PAY 100% WITH ORDER"
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue