phpcompta  Version-6
 All Data Structures Namespaces Files Functions Variables Pages
Variables
balance.inc.php File Reference

Show the balance and let you print it or export to PDF file included by user_impress. More...

Go to the source code of this file.

Variables

 $array_cat =Acc_Ledger::array_cat()
 
 $array_ledger =$g_user->get_ledger('ALL',3)
 
 $ck_lev1 =new ICheckBox('lvl1')
 
 $ck_lev2 =new ICheckBox('lvl2')
 
 $ck_lev3 =new ICheckBox('lvl3')
 
 $ex =new Exercice($cn)
 
 $exercice =(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice()
 
 $from =(isset($_GET["from_periode"]))?$_GET['from_periode']:""
 
 $from_poste =new IPoste()
 
 $from_span =new ISpan("from_poste_label","")
 
global $g_user
 
 $gDossier =dossier::id()
 
 $input_from =new IPeriod("from_periode",$from,$exercice)
 
 $input_to =new IPeriod("to_periode",$to,$exercice)
 
 $rad =new IRadio()
 
 $select_cat =(isset($_GET['r_cat']))?$_GET['r_cat']:null
 
 $selected =(isset($_GET['r_jrn']))?$_GET['r_jrn']:null
 
 $to =(isset($_GET["to_periode"]))?$_GET['to_periode']:""
 
 $to_poste =new IPoste()
 
 $to_span =new ISpan("to_poste_label","")
 
 $unsold =new ICheckBox('unsold')
 
 $wex =$ex->select('exercice',$exercice,' onchange="submit(this)"')
 
$input_from cn =$cn
 
$input_from filter_year =true
 
if(isset($_GET['view'])) if (isset($_GET['view']))
 
$from_poste name ="from_poste"
 
else $rad selected =false
 
$input_from show_end_date =false
 
$input_to show_start_date =false
 
$input_from type =ALL
 
$input_from user =$g_user
 
$ck_lev1 value =1
 

Detailed Description

Show the balance and let you print it or export to PDF file included by user_impress.

some variable are already defined ($cn, $g_user ...)

Definition in file balance.inc.php.

Variable Documentation

$array_cat =Acc_Ledger::array_cat()

Definition at line 96 of file balance.inc.php.

Referenced by HtmlInput\select_cat().

$array_ledger =$g_user->get_ledger('ALL',3)

Definition at line 93 of file balance.inc.php.

$ck_lev1 =new ICheckBox('lvl1')

Definition at line 110 of file balance.inc.php.

$ck_lev2 =new ICheckBox('lvl2')

Definition at line 111 of file balance.inc.php.

$ck_lev3 =new ICheckBox('lvl3')

Definition at line 112 of file balance.inc.php.

$ex =new Exercice($cn)

Definition at line 49 of file balance.inc.php.

Referenced by Anc_Account\get_list(), and Anc_Group_Operation\save().

$exercice =(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice()
$from =(isset($_GET["from_periode"]))?$_GET['from_periode']:""

Definition at line 68 of file balance.inc.php.

Referenced by User\Check(), Anc_Operation\html_table(), and Impress\parse_formula().

$from_poste =new IPoste()

Definition at line 136 of file balance.inc.php.

$from_span =new ISpan("from_poste_label","")

Definition at line 143 of file balance.inc.php.

global $g_user

Definition at line 28 of file balance.inc.php.

$gDossier =dossier::id()

Definition at line 38 of file balance.inc.php.

$input_from =new IPeriod("from_periode",$from,$exercice)

Definition at line 69 of file balance.inc.php.

$input_to =new IPeriod("to_periode",$to,$exercice)

Definition at line 79 of file balance.inc.php.

$rad =new IRadio()

Definition at line 92 of file balance.inc.php.

Referenced by Securimage\distortedCopy().

$select_cat =(isset($_GET['r_cat']))?$_GET['r_cat']:null

Definition at line 95 of file balance.inc.php.

Referenced by Fiche\test_me().

$selected =(isset($_GET['r_jrn']))?$_GET['r_jrn']:null

Definition at line 94 of file balance.inc.php.

Referenced by Acc_Ledger\search_form(), Exercice\select(), and Exercice\select_date().

$to =(isset($_GET["to_periode"]))?$_GET['to_periode']:""

Definition at line 78 of file balance.inc.php.

Referenced by Database\apply_patch(), and Anc_Operation\html_table().

$to_poste =new IPoste()

Definition at line 145 of file balance.inc.php.

Referenced by PDFBalance_simple\set_info().

$to_span =new ISpan("to_poste_label","")

Definition at line 152 of file balance.inc.php.

$unsold =new ICheckBox('unsold')

Definition at line 131 of file balance.inc.php.

$wex =$ex->select('exercice',$exercice,' onchange="submit(this)"')

Definition at line 50 of file balance.inc.php.

$input_to cn =$cn

Definition at line 72 of file balance.inc.php.

Referenced by Profile_Menu\__construct(), Fiche_Attr\__construct(), Profile_sql\__construct(), Profile_Menu_sql\__construct(), Menu_Ref_sql\__construct(), Exercice\__construct(), Forecast\__construct(), PDF\__construct(), Periode\__construct(), Acc_Ledger_Info\__construct(), Forecast_Cat\__construct(), Dossier\__construct(), Forecast_Item\__construct(), Fiche_Def\__construct(), Acc_Tva\__construct(), Anticipation\__construct(), Fiche\__construct(), Todo_List\__construct(), Acc_Payment\__construct(), phpcompta_sql\__construct(), PDFLand\__construct(), Anc_Acc_Link\__contruct(), Fiche_Def\Add(), ITva_Popup\add_label(), Profile_Menu\available_profile(), Profile_Menu\available_repository(), Fiche\belong_ledger(), Acc_Payment\blank(), Fiche\blank(), Fiche\build_sql(), Extension\can_request(), Periode\centralized(), Periode\close(), Exercice\count(), Acc_Ledger_Info\count(), Fiche\count_by_modele(), Fiche_Def\count_category(), Stock\create_query_histo(), Forecast\delete(), phpcompta_sql\delete(), Forecast_Item\delete(), Forecast_Cat\delete(), Acc_Tva\delete(), Acc_Payment\delete(), Profile_sql\delete(), Document_modele\Delete(), Todo_List\delete(), Fiche_Attr\delete(), Profile_Menu_sql\delete(), Menu_Ref_sql\delete(), Fiche\delete(), Anticipation\display(), Fiche_Def\Display(), Fiche\Display(), Periode\display_form_periode(), Fiche_Def\DisplayAttribut(), Document_modele\Document_modele(), Fiche\empty_attribute(), Print_Ledger_Financial\export(), Print_Ledger_Misc\export(), Print_Ledger_Detail\export(), Periode\find_periode(), Document_modele\form(), Acc_Payment\form(), Anticipation\form_cat_mod(), Anticipation\form_cat_new(), Anticipation\form_item(), Fiche_Def\Get(), Acc_Payment\get_all(), Fiche_Def\get_attr_min(), Fiche\get_bk_account(), Fiche\get_bk_balance(), Supplier\get_by_account(), Customer\get_by_account(), Fiche_Def\get_by_category(), Fiche\get_by_qcode(), Fiche_Def\get_by_type(), Fiche\get_categorie(), Periode\get_date_limit(), Periode\get_exercice(), Fiche\get_fiche_def_ref_id(), Periode\get_limit(), Profile_sql\get_object(), Profile_Menu_sql\get_object(), Menu_Ref_sql\get_object(), Fiche\get_quick_code(), Fiche\get_row(), Fiche\get_row_date(), Fiche\get_solde_detail(), PDF\get_tiers(), Dossier\get_user_folder(), Acc_Payment\get_valide(), Fiche_Def\GetAll(), Fiche_Def\getAttribut(), Fiche\getAttribut(), Fiche\GetByDef(), Fiche\getName(), Fiche_Def\HasAttribute(), Stock\history(), Fiche\HtmlTableDetail(), Stock_Goods\input(), Fiche_Def\input(), IPeriod\input(), ITva_Popup\input(), Acc_Ledger_Info\insert(), Forecast\insert(), Forecast_Cat\insert(), Forecast_Item\insert(), Acc_Tva\insert(), Acc_Payment\insert(), Profile_sql\insert(), Profile_Menu_sql\insert(), phpcompta_sql\insert(), Todo_List\insert(), Menu_Ref_sql\insert(), Fiche_Attr\insert(), Periode\insert(), Fiche\insert(), Periode\insert_exercice(), Extension\insert_plugin(), Fiche_Def\InsertAttribut(), Periode\is_centralized(), Periode\is_closed(), Periode\is_open(), Fiche\is_used(), Periode\limit_year(), Profile_Menu\listing_profile(), Acc_Ledger_Info\load(), Forecast\load(), Forecast_Item\load(), Forecast_Cat\load(), Acc_Tva\load(), Acc_Payment\load(), Profile_sql\load(), phpcompta_sql\load(), Todo_List\load(), Menu_Ref_sql\load(), Fiche_Attr\load(), Profile_Menu_sql\load(), Dossier\load(), Document_modele\load(), Periode\load(), Acc_Ledger_Info\load_all(), Todo_List\load_all(), Forecast_Cat\make_array(), Fiche\move_to(), Document_modele\myList(), Fiche_Def\myList(), phpcompta_sql\next(), Forecast\object_clone(), Profile_Menu\printing(), Fiche_Def\remove(), Fiche\remove(), Extension\remove_plugin(), Fiche_Def\RemoveAttribut(), Periode\reopen(), Document_modele\Save(), Fiche_Def\save_class_base(), Fiche_Def\save_order(), Fiche_Def\SaveLabel(), Stock\search_box(), Acc_Ledger_Info\search_id_internal(), Profile_sql\seek(), Profile_Menu_sql\seek(), Menu_Ref_sql\seek(), Fiche_Attr\seek(), Fiche\seek(), phpcompta_sql\seek(), Exercice\select(), Acc_Payment\select(), Exercice\select_date(), Fiche_Def\set_autocreate(), Dossier\show_dossier(), Fiche\strAttribut(), Profile_Menu\sub_menu(), contact\Summary(), Fiche\Summary(), Fiche\toArray(), Acc_Ledger_Info\update(), Forecast\update(), Forecast_Cat\update(), Forecast_Item\update(), Acc_Tva\update(), Acc_Payment\update(), Profile_sql\update(), Todo_List\update(), phpcompta_sql\update(), Menu_Ref_sql\update(), Fiche_Attr\update(), Profile_Menu_sql\update(), Dossier\update(), Document_modele\update(), Fiche\update(), Extension\update_plugin(), Customer\VatListing(), Menu_Ref\verify(), and Fiche_Attr\verify().

$input_to filter_year =true

Definition at line 73 of file balance.inc.php.

Referenced by IPeriod\input().

if (isset($_GET['view'])) if(isset($_GET['view']))

Definition at line 231 of file balance.inc.php.

$waffect name ="from_poste"

Definition at line 137 of file balance.inc.php.

Referenced by IRelated_Action\__construct(), Stock_Sql\__construct(), IConcerned\__construct(), Stock_Goods_Sql\__construct(), IPopup\__construct(), Acc_Report\__construct(), Tool_Uos\__construct(), IPeriod\__construct(), ITva_Popup\__construct(), Acc_Ledger\__construct(), HtmlInput\__construct(), phpcompta_sql\__construct(), IPoste\__construct(), Stock_Change_Sql\__construct(), Anc_Account\add(), Anc_Plan\add(), Anc_Plan\Anc_Plan(), User\Check(), ITva_Popup\dbutton(), ICheckBox\display(), ITextarea\display(), INum\display(), IRelated_Action\display(), IConcerned\display(), IAncCard\display(), ITva_Popup\display(), IPoste\display(), ICard\display(), Anc_Balance_Double\display_pdf(), IPoste\dsp_button(), Acc_Report\export_csv(), Anc_Account\fetch_from_db(), Acc_Report\form(), Anc_Plan\form(), Anc_Account\form(), Anc_Account\format_data(), phpcompta_sql\from_array(), Acc_Report\from_array(), Anc_Plan\get(), Supplier\get_by_account(), Customer\get_by_account(), Anc_Account\get_from_array(), HtmlInput\get_js_attr(), Acc_Report\get_name(), Acc_Account_Ledger\get_name(), Acc_Ledger\get_name(), Pre_operation\get_post(), Acc_Ledger\get_type(), phpcompta_sql\getp(), header_txt(), Tool_Uos\hidden(), Acc_Account_Ledger\HtmlTable(), ISelect\input(), IDate\input(), ITextarea\input(), IHidden\input(), ICheckBox\input(), IFile\input(), IButton\input(), IAction\input(), IRadio\input(), IText\input(), ISpan\input(), IRelated_Action\input(), IConcerned\input(), IPeriod\input(), INum\input(), ITva_Popup\input(), IAncCard\input(), IPopup\input(), IPoste\input(), ICard\input(), phpcompta_sql\insert(), Acc_Report\insert(), User\load(), phpcompta_sql\load(), Acc_Report\load(), Pre_operation\save(), Acc_Report\save(), IAncCard\search(), ICard\search(), search_anc_form(), IPopup\set_height(), IPopup\set_title(), set_wait(), IPopup\set_width(), IPopup\set_zindex(), Print_Ledger_Detail\setDossierInfo(), Print_Ledger_Simple_Without_Vat\setDossierInfo(), PDF\setDossierInfo(), Print_Ledger_Simple\setDossierInfo(), phpcompta_sql\setp(), Anc_Plan\update(), Anc_Account\update(), phpcompta_sql\update(), Acc_Report\update(), update_card(), Acc_Report\upload(), User\User(), and phpcompta_sql\verify().

else $rad selected =false

Definition at line 100 of file balance.inc.php.

$input_from show_end_date =false

Definition at line 70 of file balance.inc.php.

Referenced by IPeriod\__construct(), and IPeriod\input().

$input_to show_start_date =false

Definition at line 80 of file balance.inc.php.

Referenced by IPeriod\__construct(), and IPeriod\input().

$input_to type =ALL
$input_to user =$g_user
$to_poste value =1

Definition at line 113 of file balance.inc.php.