<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU General Public License, GPL,
+ as published by the Free Software Foundation, either version 3
+ of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
$path_to_root="../..";
$page_security = 3;
{
start_table($table_style);
$th = array(_("Transaction Type"), _("#"), _("Date"), _("Due Date"), _("Amount"),
- _("Other Allocations"), _("This Allocation"), _("Left to Allocate"),'');
+ _("Other Allocations"), _("This Allocation"), _("Left to Allocate"),'','');
table_header($th);
$k = $counter = $total_allocated = 0;
}
label_row(_("Total Allocated"), number_format2($total_allocated,user_price_dec()),
- "colspan=6 align=right", "align=right id='total_allocated'");
+ "colspan=6 align=right", "align=right id='total_allocated'", 3);
if (-$_SESSION['alloc']->amount - $total_allocated < 0)
{
$font1 = "<font color=red>";
$font1 = $font2 = "";
$left_to_allocate = price_format(-$_SESSION['alloc']->amount - $total_allocated);
label_row(_("Left to Allocate"), $font1 . $left_to_allocate . $font2, "colspan=6 align=right",
- "nowrap align=right id='left_to_allocate'");
+ "nowrap align=right id='left_to_allocate'", 3);
end_table();
hidden('TotalNumberOfAllocs', $counter);