Forgot to put principle TD in view and editable views for jobs list
This commit is contained in:
parent
9af9ff7fba
commit
dd0222c16c
|
|
@ -78,6 +78,7 @@ class JobsController extends AppController {
|
||||||
$this->set('freight_paid_by_options',$this->freight_paid_options());
|
$this->set('freight_paid_by_options',$this->freight_paid_options());
|
||||||
$this->set('gst_options', $this->gst_options());
|
$this->set('gst_options', $this->gst_options());
|
||||||
$this->set('job_status_options', $this->job_status_options());
|
$this->set('job_status_options', $this->job_status_options());
|
||||||
|
$this->set('principleList',$this->Job->Enquiry->Principle->find('list'));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -93,6 +94,7 @@ class JobsController extends AppController {
|
||||||
$this->set('shipment_category_options', $this->shipment_category_options());
|
$this->set('shipment_category_options', $this->shipment_category_options());
|
||||||
$this->set('freight_paid_by_options',$this->freight_paid_options());
|
$this->set('freight_paid_by_options',$this->freight_paid_options());
|
||||||
$this->set('gst_options', $this->gst_options());
|
$this->set('gst_options', $this->gst_options());
|
||||||
|
$this->set('principleList',$this->Job->Enquiry->Principle->find('list'));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,8 @@ else {
|
||||||
'type'=>'select','label'=>false,'value'=>$job['Job']['shipment_category']));?>
|
'type'=>'select','label'=>false,'value'=>$job['Job']['shipment_category']));?>
|
||||||
</td>
|
</td>
|
||||||
<td><?=$html->link($job['Job']['title'], array('controller'=>'jobs', 'action'=>'view', $job['Job']['id']));?></td>
|
<td><?=$html->link($job['Job']['title'], array('controller'=>'jobs', 'action'=>'view', $job['Job']['id']));?></td>
|
||||||
<td><?=$html->link($job['Enquiry']['title'], array('controller'=>'enquiries','action'=>'view', $job['Enquiry']['id']));?>
|
<td><?=$html->link($job['Enquiry']['title'], array('controller'=>'enquiries','action'=>'view', $job['Enquiry']['id']));?></td>
|
||||||
|
<td><?=$html->link($principleList[$job['Enquiry']['principle_id']], '/principles/view/'.$job['Enquiry']['principle_id']);?></td>
|
||||||
<td><?
|
<td><?
|
||||||
$poString = '';
|
$poString = '';
|
||||||
foreach($job['PurchaseOrder'] as $po) {
|
foreach($job['PurchaseOrder'] as $po) {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,8 @@
|
||||||
<?=$job['Job']['job_type'];?></td>
|
<?=$job['Job']['job_type'];?></td>
|
||||||
<td><?=$shipment_category_options[$job['Job']['shipment_category']];?></td>
|
<td><?=$shipment_category_options[$job['Job']['shipment_category']];?></td>
|
||||||
<td class="nowrap"><?=$html->link($job['Job']['title'], array('controller'=>'jobs', 'action'=>'view', $job['Job']['id']));?></td>
|
<td class="nowrap"><?=$html->link($job['Job']['title'], array('controller'=>'jobs', 'action'=>'view', $job['Job']['id']));?></td>
|
||||||
<td class="nowrap"><?=$html->link($job['Enquiry']['title'], array('controller'=>'enquiries','action'=>'view', $job['Enquiry']['id']));?>
|
<td class="nowrap"><?=$html->link($job['Enquiry']['title'], array('controller'=>'enquiries','action'=>'view', $job['Enquiry']['id']));?></td>
|
||||||
|
<td><?=$html->link($principleList[$job['Enquiry']['principle_id']], '/principles/view/'.$job['Enquiry']['principle_id']);?></td>
|
||||||
<td><?
|
<td><?
|
||||||
$poString = '';
|
$poString = '';
|
||||||
foreach($job['PurchaseOrder'] as $po) {
|
foreach($job['PurchaseOrder'] as $po) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue