/manufacturing/includes/db/work_orders_db.inc
/purchasing/includes/db/grn_db.inc
/purchasing/includes/db/invoice_db.inc
++ Added a selector for decimal values in Balance Sheet and P/L Statement
+$ /reporting/reports_main.php
+ /reporting/rep706.php
+ /reporting/rep707.php
09-Feb-2010 Joe Hunt/Chaitanya
# [0000202] Global $path_to_root is missing in function handle_submit() in file admin/create_coy.php
{
$dimension = $_POST['PARAM_2'];
$dimension2 = $_POST['PARAM_3'];
+ $decimals = $_POST['PARAM_4'];
+ $graphics = $_POST['PARAM_5'];
+ $comments = $_POST['PARAM_6'];
+ $destination = $_POST['PARAM_7'];
+ }
+ else if ($dim == 1)
+ {
+ $dimension = $_POST['PARAM_2'];
+ $decimals = $_POST['PARAM_3'];
$graphics = $_POST['PARAM_4'];
$comments = $_POST['PARAM_5'];
$destination = $_POST['PARAM_6'];
}
- else if ($dim == 1)
+ else
{
- $dimension = $_POST['PARAM_2'];
+ $decimals = $_POST['PARAM_2'];
$graphics = $_POST['PARAM_3'];
$comments = $_POST['PARAM_4'];
$destination = $_POST['PARAM_5'];
}
- else
- {
- $graphics = $_POST['PARAM_2'];
- $comments = $_POST['PARAM_3'];
- $destination = $_POST['PARAM_4'];
- }
if ($destination)
include_once($path_to_root . "/reporting/includes/excel_report.inc");
else
include_once($path_to_root . "/reporting/includes/class.graphic.inc");
$pg = new graph();
}
- $dec = 0;
+ if (!$decimals)
+ $dec = 0;
+ else
+ $dec = user_price_dec();
$cols = array(0, 50, 200, 350, 425, 500);
//------------0--1---2----3----4----5--
{
$dimension = $_POST['PARAM_3'];
$dimension2 = $_POST['PARAM_4'];
+ $decimals = $_POST['PARAM_5'];
+ $graphics = $_POST['PARAM_6'];
+ $comments = $_POST['PARAM_7'];
+ $destination = $_POST['PARAM_8'];
+ }
+ else if ($dim == 1)
+ {
+ $dimension = $_POST['PARAM_3'];
+ $decimals = $_POST['PARAM_4'];
$graphics = $_POST['PARAM_5'];
$comments = $_POST['PARAM_6'];
$destination = $_POST['PARAM_7'];
}
- else if ($dim == 1)
+ else
{
- $dimension = $_POST['PARAM_3'];
+ $decimals = $_POST['PARAM_3'];
$graphics = $_POST['PARAM_4'];
$comments = $_POST['PARAM_5'];
$destination = $_POST['PARAM_6'];
}
- else
- {
- $graphics = $_POST['PARAM_3'];
- $comments = $_POST['PARAM_4'];
- $destination = $_POST['PARAM_5'];
- }
if ($destination)
include_once($path_to_root . "/reporting/includes/excel_report.inc");
else
include_once($path_to_root . "/reporting/includes/class.graphic.inc");
$pg = new graph();
}
- $dec = 0;
+ if (!$decimals)
+ $dec = 0;
+ else
+ $dec = user_price_dec();
$pdec = user_percent_dec();
$cols = array(0, 50, 200, 350, 425, 500);
_('End Date') => 'DATEENDM',
_('Dimension')." 1" => 'DIMENSIONS1',
_('Dimension')." 2" => 'DIMENSIONS2',
+ _('Decimal values') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
_('Compare to') => 'COMPARE',
_('Dimension')." 1" => 'DIMENSIONS1',
_('Dimension')." 2" => 'DIMENSIONS2',
+ _('Decimal values') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
array( _('Start Date') => 'DATEBEGIN',
_('End Date') => 'DATEENDM',
_('Dimension') => 'DIMENSIONS1',
+ _('Decimal values') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
_('End Date') => 'DATEENDM',
_('Compare to') => 'COMPARE',
_('Dimension') => 'DIMENSIONS1',
+ _('Decimal values') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
$reports->addReport(_('General Ledger'),706,_('&Balance Sheet'),
array( _('Start Date') => 'DATEBEGIN',
_('End Date') => 'DATEENDM',
+ _('Decimal values') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
array( _('Start Date') => 'DATEBEGINM',
_('End Date') => 'DATEENDM',
_('Compare to') => 'COMPARE',
+ _('Decimal values') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));