diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-26 18:42:24 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-26 18:42:24 +0000 |
commit | 12498a933455c830e26e3289f836d3ab418bc304 (patch) | |
tree | f2c71ead26a1ee947ec3574f8d17396ba404e7da /bin | |
parent | a5050309c82a718670dfd0d552603e8b377d540a (diff) |
Fixed a few of the worst HTML errors in pos interface.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@318 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pos.pl | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -110,9 +110,12 @@ sub add { $form->{partsgroup} = ""; for (@{ $form->{all_partsgroup} }) { $form->{partsgroup} .= "$_->{partsgroup}--$_->{translation}\n"; } + $form->{dontdisplayend} = 1; + &display_form; $form->{dontdisplayrows} = 1; + $form->{dontdisplayend} = 0; &openinvoices; } @@ -603,13 +606,14 @@ sub form_footer { $form->hide_form(qw(rowcount callback path login sessionid)); - print qq| -</form> + print qq|</form>|; + if (!$form->{dontdisplayend}){ + print qq| </body> </html> |; - + } } |