Renamed add job button to new job

This commit is contained in:
Karl Cordes 2011-04-19 16:12:20 +10:00
parent 3065fd1daa
commit 8a73967ad3

View file

@ -138,7 +138,6 @@ $class = ' class="altrow"';?>
<th>Customer Order Number</th>
<th>Date Order Received</th>
<th>Date Order Placed on Principle</th>
<th>Date Sheduled Ex-Works</th>
<th>Date Sent to Customer</th>
@ -172,10 +171,7 @@ $class = ' class="altrow"';?>
<?php echo $this->element('isEmptyDate',
array('date'=>$job['Job']['date_order_received'])); ?>
</td>
<td>
<?php echo $this->element('isEmptyDate',
array('date' => $job['Job']['date_order_placed_on_principle'])); ?>
</td>
<td>
<?php echo $this->element('isEmptyDate',
array('date'=>$job['Job']['date_scheduled_ex_works'])); ?>
@ -199,8 +195,6 @@ $class = ' class="altrow"';?>
</td>
<td class="actions">
<?php echo $html->link(__('View', true), array('controller'=>'jobs', 'action' => 'view', $job['Job']['id'])); ?>
<?php echo $html->link(__('Edit', true), array('controller'=>'jobs','action' => 'edit', $job['Job']['id'])); ?>
<?php //echo $html->link(__('Delete', true), array('controller'=>'jobs','action' => 'delete', $job['Job']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $job['Job']['id'])); ?>
</td>
</tr>
<?php endforeach; ?>
@ -210,7 +204,7 @@ $class = ' class="altrow"';?>
<div class="actions">
<?=$javascript->link('add_job');?>
<ul>
<li><button class="addJob" id="<?=$enquiry['Enquiry']['id'];?>">Add Job</button></li>
<li><button class="addJob" id="<?=$enquiry['Enquiry']['id'];?>">New Job</button></li>
</ul>
</div>