-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrep_revenue.php
40 lines (25 loc) · 1.1 KB
/
rep_revenue.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
$flagNoAuth = true;
require ('common/auth.php');
require_once ('classes/reports.class.php');
include ('includes/inc_report_settings.php');
$oBudget = new Budget($budget_scenario);
$oReference = new Budget($reference);
include ('includes/inc_report_pcfilter.php');
$arrJS[]='js/rep_pnl.js';
// $arrJS[]='js/input_form.js';
include('includes/inc_group_buttons.php');
$arrDefaultParams = Array('currency'=>643,'period_type'=>'cm','denominator'=>1000,'bu_group'=>'');
$strQuery = http_build_query($arrDefaultParams);
if(!isset($_GET['pccGUID'])){
include ('includes/inc-frame_top.php');
echo '<h1>',$arrUsrData["pagTitle$strLocal"],': ',$oBudget->title,'</h1>';
echo '<p>',$oBudget->timestamp,'; ',$oBudget->rates,'</p>';
include ('includes/inc_report_selectors.php');
Budget::getProfitTabs('reg_sales', false);
include ('includes/inc-frame_bottom.php');
} else {
$oReport = new Reports(Array('budget_scenario'=>$budget_scenario, 'reference'=>$reference,'currency'=>$currency, 'denominator'=>$denominator, 'filter'=>$filter));
$oReport->revenueByCustomer();
}
?>