Changes. Considering switching javascript to Jquery.
This commit is contained in:
parent
206cd90b8a
commit
32199181d6
|
|
@ -30,6 +30,9 @@ class QuoteProductsController extends AppController {
|
|||
$product = $this->QuoteProduct->Product->findById($this->data['QuoteProduct']['product_id']);
|
||||
$this->data['QuoteProduct']['description'] = $product['Product']['description'];
|
||||
|
||||
$numberOfItems - $this->Quo
|
||||
|
||||
|
||||
|
||||
if ($this->QuoteProduct->save($this->data)) {
|
||||
$quoteid = $this->data['QuoteProduct']['quote_id'];
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@ class QuoteProduct extends AppModel {
|
|||
'conditions' => '',
|
||||
'fields' => '',
|
||||
'order' => ''
|
||||
)
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -136,8 +136,3 @@ $boxdata['enquirynumber'] = $enquiry['Enquiry']['title'];
|
|||
<h3><?php __($number_of_quotes.' Quotes in this Enquiry');?></h3>
|
||||
<?php echo $this->element('quote_table', $quotes); ?>
|
||||
</div>
|
||||
|
||||
<?
|
||||
|
||||
debug($smtp_errors);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -8,10 +8,8 @@ echo $paginator->counter(array(
|
|||
?></p>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<th><?php echo $paginator->sort('id');?></th>
|
||||
<th><?php echo $paginator->sort('principle_id');?></th>
|
||||
<th><?php echo $paginator->sort('title');?></th>
|
||||
<th><?php echo $paginator->sort('description');?></th>
|
||||
<th><?php echo $paginator->sort('model_number');?></th>
|
||||
<th class="actions"><?php __('Actions');?></th>
|
||||
</tr>
|
||||
|
|
@ -24,18 +22,14 @@ foreach ($products as $product):
|
|||
}
|
||||
?>
|
||||
<tr<?php echo $class;?>>
|
||||
<td>
|
||||
<?php echo $product['Product']['id']; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo $html->link($product['Principle']['name'], array('controller'=> 'principles', 'action'=>'view', $product['Principle']['id'])); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $product['Product']['title']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $product['Product']['description']; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo $product['Product']['model_number']; ?>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -105,6 +105,8 @@ else {
|
|||
|
||||
$tcpdf->Output($output_dir.$filename, 'F');
|
||||
|
||||
echo "<br> Wrote: ".$output_dir.$filename;
|
||||
|
||||
//$tcpdf->Output('cmcquote.pdf', 'D');
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -183,8 +183,8 @@ ul.principle-emails {
|
|||
}
|
||||
|
||||
#nav h3 a{
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
font-size: 160%;
|
||||
font-weight: normal;
|
||||
color:#FFFFFF;
|
||||
width: 100%;
|
||||
/* background: #E9E9E9; */
|
||||
|
|
@ -247,7 +247,7 @@ ul.principle-emails {
|
|||
background: #fff;
|
||||
clear: both;
|
||||
color: #333;
|
||||
padding: 5px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
#footer {
|
||||
|
|
|
|||
Loading…
Reference in a new issue