@@ -215,11 +322,6 @@ sub form_header {
- |.$locale->text('Record in').qq| |
- |
-
-
-
|.$locale->text('Customer').qq| |
$customer |
{customer_id}>
@@ -228,16 +330,24 @@ sub form_header {
|
-
|
|
@@ -284,10 +405,12 @@ sub form_header {
-
-
-
-
+
+
+
+
+
+
@@ -319,20 +442,29 @@ sub form_footer {
$form->{invtotal} = $form->{invsubtotal};
- if (($rows = $form->numtextrows($form->{notes}, 50, 8)) < 2) {
+ if (($rows = $form->numtextrows($form->{notes}, 26, 8)) < 2) {
$rows = 2;
}
- $notes = qq||;
-
+ if (($introws = $form->numtextrows($form->{intnotes}, 35, 8)) < 2) {
+ $introws = 2;
+ }
+ $rows = ($rows > $introws) ? $rows : $introws;
+ $notes = qq||;
+ $intnotes = qq||;
$form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+ $taxincluded = "";
if ($form->{taxaccounts}) {
$taxincluded = qq|
- {taxincluded}> |.$locale->text('Tax Included').qq|
+
+
+
+ {taxincluded}> | |.$locale->text('Tax Included').qq| |
+
|;
}
-
+
if (!$form->{taxincluded}) {
foreach $item (split / /, $form->{taxaccounts}) {
@@ -373,21 +505,23 @@ sub form_footer {
|.$locale->text('Notes').qq| |
+ |.$locale->text('Internal Notes').qq| |
-
+
$notes |
+ $intnotes |
-
- $taxincluded
- | |