From 6f61778af4acae844146bef27ea55e182a562e3f Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 3 Feb 2010 01:10:30 +0000 Subject: [PATCH] Added a Profit and Loss Drilldown page and changed menu links --- CHANGELOG.txt | 8 ++++++++ applications/generalledger.php | 4 +++- gl/inquiry/balance_sheet.php | 2 +- gl/inquiry/journal_inquiry.php | 5 +++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1859d61..ff39f74 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,14 @@ Legend: ! -> Note $ -> Affected files +03-Feb-2010 Chaitanya/Joe ++ Added a Profit and Loss Drilldown page and changed menu link +$ /applications/generalledger.php + /gl/inquiry/profit_loss.php (New file) + /gl/inquiry/balance_sheet.php +! Better layout +$ /gl/inquiry/journal_inquiry.php + 02-Feb-2010 Chaitanya + Added memo search on journal inquires. $ /gl/inquiry/journal_inquiry.php diff --git a/applications/generalledger.php b/applications/generalledger.php index c227dff..8aca362 100644 --- a/applications/generalledger.php +++ b/applications/generalledger.php @@ -42,8 +42,10 @@ class general_ledger_app extends application $this->add_rapp_function(1, _("Trial &Balance"), "gl/inquiry/gl_trial_balance.php?", 'SA_GLANALYTIC'); - $this->add_rapp_function(1, _("Balance &Sheet"), + $this->add_rapp_function(1, _("Balance &Sheet Drilldown"), "gl/inquiry/balance_sheet.php?", 'SA_GLANALYTIC'); + $this->add_rapp_function(1, _("&Profit and Loss Drilldown"), + "gl/inquiry/profit_loss.php?", 'SA_GLANALYTIC'); $this->add_rapp_function(1, _("Banking &Reports"), "reporting/reports_main.php?Class=5", 'SA_BANKREP'); $this->add_rapp_function(1, _("General Ledger &Reports"), diff --git a/gl/inquiry/balance_sheet.php b/gl/inquiry/balance_sheet.php index 370dfda..a550ebc 100644 --- a/gl/inquiry/balance_sheet.php +++ b/gl/inquiry/balance_sheet.php @@ -24,7 +24,7 @@ $js = ""; if ($use_date_picker) $js = get_js_date_picker(); -page(_($help_context = "Balance Sheet"), false, false, "", $js); +page(_($help_context = "Balance Sheet Drilldown"), false, false, "", $js); //---------------------------------------------------------------------------------------------------- // Ajax updates diff --git a/gl/inquiry/journal_inquiry.php b/gl/inquiry/journal_inquiry.php index 308abd7..3ceb324 100644 --- a/gl/inquiry/journal_inquiry.php +++ b/gl/inquiry/journal_inquiry.php @@ -43,7 +43,6 @@ start_table("class='tablestyle_noborder'"); start_row(); ref_cells(_("Reference:"), 'Ref', '',null, _('Enter reference fragment or leave empty')); -ref_cells(_("Memo:"), 'Memo', '',null, _('Enter memo fragment or leave empty')); journal_types_list_cells(_("Type:"), "filterType"); date_cells(_("From:"), 'FromDate', '', null, 0, -1, 0); @@ -52,7 +51,9 @@ date_cells(_("To:"), 'ToDate'); check_cells( _("Show closed:"), 'AlsoClosed', null); submit_cells('Search', _("Search"), '', '', 'default'); - +end_row(); +start_row(); +ref_cells(_("Memo:"), 'Memo', '',null, _('Enter memo fragment or leave empty')); end_row(); end_table(); -- 2.30.2