From: Joe Hunt Date: Sat, 20 Dec 2008 23:10:11 +0000 (+0000) Subject: Better layout in big forms X-Git-Tag: v2.4.2~19^2~1662 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=58db1fd338a7670dcb973748aa6b44f8415f0065;p=fa-stable.git Better layout in big forms --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a0f6baf4..ba348321 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -22,6 +22,8 @@ $ -> Affected files 20-Dec-2008 Joe Hunt ! Replaced the ajax paging in stock movements with the old file. $ /inventory/inquiry/stock_movements.php +! Better layout in big forms +$ /includes/ui/ui_controls.inc 18-Dec-2008 Joe Hunt + Added quick entries in supplier invoice/credit note as well. Based on bank payments diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index d0231002..40bfc9a8 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -56,9 +56,10 @@ function end_table($breaks=0) br($breaks); } -function start_outer_table($extra="", $padding='2', $spacing='0') +function start_outer_table($extra="", $padding='2', $spacing='0', $br=false) { - br(); + if ($br) + br(); start_table($extra, $padding, $spacing); echo "\n"; // outer table }