Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

bank.inc.php File Reference

the purpose off this file encode expense and to record them More...

Go to the source code of this file.

Variables

 $h_url = ""
 $sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:""
 exit
 $banque = new parm_code($cn,'BANQUE')
 $caisse = new parm_code($cn,'CAISSE')
 $vir_interne = new parm_code($cn,'VIREMENT_INTERNE')
 $accountSql
 $ResAccount = ExecSql($cn,$accountSql)
 $m = GetSolde($cn,$l['pcm_val'])
 $hid = new widget("hidden")
$hid name = "p_action"
$hid value = "bank"
 $w = new widget("select")
 $periode_start = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id")
 $current = (isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode()
$w selected = $current
 $qcode = (isset($_GET['qcode']))?$_GET['qcode']:""
$w label = ''
$w extra = '4'
 $sp = new widget("span")
 $sql = SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_type='FIN'"
 $step = $_SESSION['g_pagesize']
 $page = (isset($_GET['offset']))?$_GET['page']:1
 $offset = (isset($_GET['offset']))?$_GET['offset']:0
 $l = ""
 $bar = jrn_navigation_bar($offset,$max_line,$step,$page)
 $nb_item = $_POST['nb_item']
 $submit
 $form = FormFin($cn,$p_jrn,$User->GetPeriode(),$submit,$_POST,false, $nb_item)
 $r = RecordFin($cn,$_POST,$User,$p_jrn)
 $nb_number = $_POST['nb_item']


Detailed Description

the purpose off this file encode expense and to record them

Definition in file bank.inc.php.


Variable Documentation

$accountSql
 

Initial value:

"select distinct pcm_val::text,pcm_lib from 
            tmp_pcmn 
            where pcm_val like '".$banque->p_value."%' or pcm_val like '".$vir_interne->p_value."%' 
            or pcm_val like '".$caisse->p_value."%'
            order by pcm_val::text"

Definition at line 83 of file bank.inc.php.

$banque = new parm_code($cn,'BANQUE')
 

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

$bar = jrn_navigation_bar($offset,$max_line,$step,$page)
 

Definition at line 184 of file bank.inc.php.

Referenced by action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche().

$caisse = new parm_code($cn,'CAISSE')
 

Definition at line 81 of file bank.inc.php.

$current = (isset($_GET['p_periode']))?$_GET['p_periode']:$User->GetPeriode()
 

Definition at line 150 of file bank.inc.php.

$form = FormFin($cn,$p_jrn,$User->GetPeriode(),$submit,$_POST,false, $nb_item)
 

Definition at line 217 of file bank.inc.php.

$h_url = ""
 

Definition at line 53 of file bank.inc.php.

$hid = new widget("hidden")
 

Definition at line 133 of file bank.inc.php.

$l = ""
 

Definition at line 174 of file bank.inc.php.

Referenced by DisplayDetailModele(), Cezpdf::ezPRVTaddPageNumbers(), GetConcerned(), GetFormulaValue(), and ViewDetailStock().

$m = GetSolde($cn,$l['pcm_val'])
 

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

$nb_item = $_POST['nb_item']
 

Definition at line 211 of file bank.inc.php.

$nb_number = $_POST['nb_item']
 

Definition at line 238 of file bank.inc.php.

$offset = (isset($_GET['offset']))?$_GET['offset']:0
 

Definition at line 172 of file bank.inc.php.

Referenced by jrn_navigation_bar(), ListJrn(), action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche().

$page = (isset($_GET['offset']))?$_GET['page']:1
 

Definition at line 171 of file bank.inc.php.

Referenced by action::myList(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), and ViewFiche().

$periode_start = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id")
 

Definition at line 148 of file bank.inc.php.

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

Definition at line 154 of file bank.inc.php.

Referenced by Document::Replace(), and ShowActionList().

$r = RecordFin($cn,$_POST,$User,$p_jrn)
 

Definition at line 237 of file bank.inc.php.

Referenced by Document::a_ref(), fiche::blank(), ChangeStock(), cl_user::Check(), ComputeTotalVat(), action::Confirm(), Document_modele::Delete(), parm_code::Display(), fiche_def_ref::Display(), fiche::Display(), fiche_def::Display(), action::Display(), Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), poste::get(), fiche_def_ref::Get(), Document_type::get(), action::get(), GetArray(), fiche::GetByQCode(), GetConcerned(), getDbValue(), jrn::GetDefLine(), GetDossierName(), cl_user::getExercice(), getFicheNameCode(), GetGrpt(), poste::GetName(), fiche::getName(), Balance::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaRate(), parm_code::Input(), fiche_def_ref::Input(), InsertStockGoods(), widget::IOValue(), jrn_navigation_bar(), ListJrn(), parm_code::LoadAll(), make_array(), Document_modele::myList(), action::myList(), new_fiche(), RecordInvoice(), RecordSell(), Document::Replace(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), ShowActionList(), ShowMenuAdvanced(), ShowMenuCompta(), Supplier::Summary(), Customer::Summary(), contact::Summary(), Admin::Summary(), TransferCSV(), u_ShowMenuRecherche(), UpdateJrn(), Document::Upload(), ViewDetailStock(), and ViewStock().

$ResAccount = ExecSql($cn,$accountSql)
 

Definition at line 88 of file bank.inc.php.

$sp = new widget("span")
 

Definition at line 161 of file bank.inc.php.

Referenced by action::Display(), ShowActionList(), and u_ShowMenuRecherche().

$sql = SQL_LIST_ALL_INVOICE." and jr_tech_per=".$current." and jr_def_type='FIN'"
 

Definition at line 169 of file bank.inc.php.

Referenced by cl_user::AccessJrn(), AddFiche(), AddForm(), AddModele(), cl_user::Admin(), fiche::blank(), Document::blank(), Centralise(), cl_user::Check(), CheckDossier(), CheckIsAdmin(), ConfirmTransfert(), fiche::CountByDef(), Document_modele::Delete(), fiche::Display(), EncodeFiche(), ExecuteScript(), FormAchInput(), FormPeriode(), FormPeriodeMult(), FormVenInput(), parm_code::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), Document::get(), action::get(), fiche_def::GetAll(), GetAllUser(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), jrn::GetDefLine(), cl_user::getExercice(), GetFicheDef(), GetFicheDefRef(), GetFicheJrn(), getFicheNameCode(), Supplier::GetFromPoste(), Customer::GetFromPoste(), fiche::getName(), GetPeriode(), cl_user::GetPreferences(), GetQuantity(), GetRappel(), Balance::GetRow(), jrn::GetRowSimple(), GetUserProperty(), fiche::insert(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertStockGoods(), IsFicheOfJrn(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), Document::MoveDocumentPj(), Document_modele::myList(), action::myList(), new_fiche(), PeriodeClosed(), fiche::remove(), Document::remove(), RemoveCSV(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), Document::save(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), cl_user::SetPeriode(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), action::Update(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFicheDetail(), ViewJrn(), and ViewStock().

$step = $_SESSION['g_pagesize']
 

Definition at line 170 of file bank.inc.php.

Referenced by jrn_navigation_bar(), action::myList(), and ViewFiche().

$sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:""
 

Definition at line 61 of file bank.inc.php.

$submit
 

Initial value:

'<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article">
          <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver" ID="SubmitButton">'

Definition at line 215 of file bank.inc.php.

$vir_interne = new parm_code($cn,'VIREMENT_INTERNE')
 

Definition at line 82 of file bank.inc.php.

$w = new widget("select")
 

Definition at line 146 of file bank.inc.php.

exit
 

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

$w extra = '4'
 

Definition at line 160 of file bank.inc.php.

Referenced by Cpdf::selectFont().

$w label = ''
 

Definition at line 159 of file bank.inc.php.

$w name = "p_action"
 

Definition at line 135 of file bank.inc.php.

w selected = $current
 

Definition at line 151 of file bank.inc.php.

Referenced by widget::IOValue(), RecordJrn(), and widget::widget().

$w value = "bank"
 

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