Merge branch 'master' of github.com:kzrl/CMC-Sales
This commit is contained in:
commit
0c37d1ee3a
|
|
@ -99,14 +99,5 @@ echo $form->input('sale_discount_amount', array('type'=>'hidden'));
|
|||
|
||||
echo $form->end('Submit');?>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<ul>
|
||||
<li><?php echo $html->link(__('List Costings', true), array('action' => 'index'));?></li>
|
||||
<li><?php echo $html->link(__('List Products', true), array('controller' => 'products', 'action' => 'index')); ?> </li>
|
||||
<li><?php echo $html->link(__('New Product', true), array('controller' => 'products', 'action' => 'add')); ?> </li>
|
||||
<li><?php echo $html->link(__('List Line Items', true), array('controller' => 'line_items', 'action' => 'index')); ?> </li>
|
||||
<li><?php echo $html->link(__('New Line Item', true), array('controller' => 'line_items', 'action' => 'add')); ?> </li>
|
||||
<li><?php echo $html->link(__('List Currencies', true), array('controller' => 'currencies', 'action' => 'index')); ?> </li>
|
||||
<li><?php echo $html->link(__('New Purchase Currency', true), array('controller' => 'currencies', 'action' => 'add')); ?> </li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
<?php /* Quotenik 1.2 - Default Layout. Some Markup retained from CakePHP Default
|
||||
*/ ?>
|
||||
|
||||
<?php // Quotenik 1.2 - Default Layout. Some Markup retained from CakePHP Default ?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>
|
||||
|
|
@ -221,6 +219,7 @@
|
|||
|
||||
|
||||
<?php
|
||||
|
||||
$mem_usage = memory_get_usage(true);
|
||||
|
||||
if ($mem_usage < 1024)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,15 @@
|
|||
<?
|
||||
$hasOptions = false;
|
||||
|
||||
if(count($document['LineItem']) == 0):
|
||||
?>
|
||||
<tr class="no_items">
|
||||
<td colspan="6"> No Line Items have been Added Yet!</td>
|
||||
</tr>
|
||||
<?
|
||||
endif;
|
||||
?>
|
||||
<?
|
||||
foreach($document['LineItem'] as $li):?>
|
||||
<tr class="lineItem">
|
||||
<td>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
<div>
|
||||
<fieldset>
|
||||
<legend>Login</legend>
|
||||
<?php
|
||||
if ($session->check('Message.auth')) $session->flash('auth');
|
||||
echo $form->create('User', array('action' => 'login'));
|
||||
|
|
@ -6,3 +9,5 @@ echo $form->input('password');
|
|||
echo $form->input('remember_me', array('label' => 'Keep me logged in on this Computer', 'type' => 'checkbox'));
|
||||
echo $form->end('Login');
|
||||
?>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1643,3 +1643,9 @@ div.warning {
|
|||
#extraModels li {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
|
||||
tr.no_items {
|
||||
font-size: 2em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
* Could (should) tidy this up to move the Quote/Invoice etc Specific
|
||||
* functionality into seperate files.
|
||||
*
|
||||
* Will do this at some point. Today I just need to hammer this out.
|
||||
*
|
||||
* Karl - 20/5/2011
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue