projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0000081] Trial Balance again minor changes.
[fa-stable.git]
/
dimensions
/
view
/
view_dimension.php
diff --git
a/dimensions/view/view_dimension.php
b/dimensions/view/view_dimension.php
index ce56248426fbe459abc63d2653d62cc554804a46..843da185a24a2b0e37231889b72d4b236e5cdf74 100644
(file)
--- a/
dimensions/view/view_dimension.php
+++ b/
dimensions/view/view_dimension.php
@@
-5,7
+5,10
@@
$path_to_root="../..";
include_once($path_to_root . "/includes/session.inc");
include_once($path_to_root . "/includes/session.inc");
-page(_("View Dimension"), true);
+$js = "";
+if ($use_popup_windows)
+ $js .= get_js_open_window(800, 500);
+page(_("View Dimension"), true, false, "", $js);
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/data_checks.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/data_checks.inc");
@@
-15,16
+18,17
@@
include_once($path_to_root . "/dimensions/includes/dimensions_ui.inc");
//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
-if ($_GET['trans_no'] != "")
+if ($_GET['trans_no'] != "")
{
$id = $_GET['trans_no'];
}
display_heading(systypes::name(systypes::dimension()) . " # " . $id);
{
$id = $_GET['trans_no'];
}
display_heading(systypes::name(systypes::dimension()) . " # " . $id);
+br(1);
$myrow = get_dimension($id);
$myrow = get_dimension($id);
-if (strlen($myrow[0]) == 0)
+if (strlen($myrow[0]) == 0)
{
echo _("The work order number sent is not valid.");
exit;
{
echo _("The work order number sent is not valid.");
exit;
@@
-48,9
+52,9
@@
comments_display_row(systypes::dimension(), $id);
end_table();
end_table();
-if ($myrow["closed"] == true)
+if ($myrow["closed"] == true)
{
{
-
echo "<br>" . _("This dimension is closed.") . "<br>"
;
+
display_note(_("This dimension is closed."))
;
}
display_dimension_payments($id);
}
display_dimension_payments($id);