diff --git a/views/documents/view.ctp b/views/documents/view.ctp
index 5852c625..1b7cdbce 100755
--- a/views/documents/view.ctp
+++ b/views/documents/view.ctp
@@ -19,10 +19,10 @@ switch($docType) {
}
?>
+
@@ -44,7 +44,7 @@ switch($docType) {
-
+
=$document['Document']['id']?>
diff --git a/views/elements/document_quote_view.ctp b/views/elements/document_quote_view.ctp
index 21d21a91..ad8a82ba 100644
--- a/views/elements/document_quote_view.ctp
+++ b/views/elements/document_quote_view.ctp
@@ -17,7 +17,6 @@ echo $form->input('Document.id');
-
=$html->link('Generate PDF of this Quote', '/documents/pdf/'.$document['Document']['id']);?>
diff --git a/views/elements/line_items_table.ctp b/views/elements/line_items_table.ctp
index 3e39d849..c342cf7a 100644
--- a/views/elements/line_items_table.ctp
+++ b/views/elements/line_items_table.ctp
@@ -22,9 +22,8 @@
if($li['option'] == 1) {
- echo 'Option';
+ echo 'Option ';
$hasOptions = true;
-
}
?>
=$li['item_number'];?>
@@ -67,7 +66,7 @@
echo $number->currency($totals['subtotal'], $currencyCode);
}
else {
- echo $number->currency('TBA', $currencyCode);
+ echo $currencySymbol.'TBA';
}
?> |
@@ -76,19 +75,15 @@
|
=$totalsDescText['gst'];?> |
|
-
-
+ |
+
if(!$hasOptions) {
- if($gst ==1) {
- echo $number->currency($totals['gst'], $currencyCode);
- }
- else {
- echo 'N/A';
- }
+ echo $number->currency($totals['gst'], $currencyCode);
}
else {
- echo $number->currency('TBA', $currencyCode);
+ echo $currencySymbol.'TBA';
}
+
?>
|
@@ -103,7 +98,7 @@
echo $number->currency($totals['total'], $currencyCode);
}
else {
- echo $number->currency('TBA', $currencyCode);
+ echo $currencySymbol.'TBA';
}
?>
diff --git a/views/enquiries/view.ctp b/views/enquiries/view.ctp
index d04efb2e..b4ac0340 100755
--- a/views/enquiries/view.ctp
+++ b/views/enquiries/view.ctp
@@ -14,7 +14,7 @@
- /* Copy+pasta. Should be a helper of an element or something. Aug_2011_Hackfest_for_victory_and_liberation_from_this_project! */
+ /* Copy+pasta. Should be a helper or an element or something. #Aug_2011_Hackfest_for_victory_and_liberation_from_this_project! */
if ($enquiry['Status']['id'] == 3) {
$class = ' class="jobwon"';
} else if ($enquiry['Status']['id'] == 4) {
@@ -78,11 +78,6 @@
link($enquiry['Principle']['name'], array('controller'=> 'principles', 'action'=>'view', $enquiry['Principle']['id'])); ?>
-
>
-
>
- link($enquiry['Status']['name'], array('controller'=> 'statuses', 'action'=>'view', $enquiry['Status']['id'])); ?>
-
-
>
>