X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Fprofit_loss.php;h=f7ba91767c1055bc9b1282c5f8830d58d90f76e1;hb=0489317205141deaecefe3a7243d11a3e38a51d0;hp=351fc3d738003fe07a29de95ae3b8d59986de8f2;hpb=39c785175e25929af8c503f6e97fadd38525cf90;p=fa-stable.git diff --git a/gl/inquiry/profit_loss.php b/gl/inquiry/profit_loss.php index 351fc3d7..f7ba9176 100644 --- a/gl/inquiry/profit_loss.php +++ b/gl/inquiry/profit_loss.php @@ -160,7 +160,7 @@ function inquiry_controls() $dim = get_company_pref('use_dimension'); start_table(TABLESTYLE_NOBORDER); - date_cells(_("From:"), 'TransFromDate', '', null, -30); + date_cells(_("From:"), 'TransFromDate', '', null, -$_SESSION["wa_current_user"]->prefs->transaction_days()); date_cells(_("To:"), 'TransToDate'); //Compare Combo