noalyss Version-9
Variables
fiche.inc.php File Reference

printing of category of card : balance, historic More...

Go to the source code of this file.

Variables

 $ac = $http->request('ac')
 
 $afiche [0] = array('fd_id' => $p_cat)
 
 $allcard = (isset($_GET['allcard'])) ? 1 : 0
 
 $array = Fiche::get_fiche_def($cn,$categorie->selected , 'name_asc')
 
if( $histo->selected==-1) if($histo->selected==3) $cat =$http->get("cat","number")
 
 $categorie = new ISelect('cat')
 Show first the form. More...
 
 $clean_lettering =new Lettering($cn)
 
 $cn = Dossier::connect()
 
 $exercice = $g_user->get_exercice()
 
 $export_csv = '<FORM METHOD="get" ACTION="export.php" style="display:inline">'
 
 $export_pdf = '<FORM METHOD="get" ACTION="export.php" style="display:inline">'
 
 $export_print = HtmlInput::print_window()
 
 $fd_id =$categorie->selected
 
 $fiche = new Fiche($cn)
 
global $g_failed
 
global $g_user
 
 $gDossier = dossier::id()
 
 $h_add_card_b = new IButton('add_card')
 
 $histo = new ISelect('histo')
 
 $http =new HttpInput()
 
 $icall = new ICheckBox("allcard", 1)
 
 $iperiode = new Periode($cn)
 
 $periode_end = new IDate('end')
 
 $periode_start = new IDate('start')
 
 $phisto =$http->get("histo","number")
 
 $str
 
 $str_add_card = ($g_user->check_action(FICADD) == 1) ? $h_add_card_b->input() : ""
 
 $str_categorie = $categorie->input()
 
 $str_end = $periode_end->input()
 
 $str_histo = $histo->input()
 
 $str_icall = $icall->input()
 
 $str_start = $periode_start->input()
 
if(isDate($_REQUEST['start'])==null||isDate($_REQUEST['end'])==null) if($histo->selected==8) if( $histo->selected==7) if( $histo->selected==4||$histo->selected==5) if($allcard==1) else
 
if($allcard==0) if ( $array==null &&$allcard==0 &&$histo->selected !=3)
 
$histo javascript
 
$h_add_card_b label = _('Créer une nouvelle fiche')
 
$categorie selected = $http->get('cat','number',0)
 
$categorie value = $cn->make_array("select fd_id,fd_label||' ('||(select count(*) from fiche where fiche.fd_id=fiche_def.fd_id)::text||')' from fiche_def order by fd_label")
 

Detailed Description

printing of category of card : balance, historic

Definition in file fiche.inc.php.

Variable Documentation

◆ $ac

$ac = $http->request('ac')

Definition at line 41 of file fiche.inc.php.

◆ $afiche

$afiche[0] = array('fd_id' => $p_cat)

◆ $allcard

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

Definition at line 117 of file fiche.inc.php.

◆ $array

$array = Fiche::get_fiche_def($cn,$categorie->selected , 'name_asc')

Definition at line 106 of file fiche.inc.php.

◆ $cat

if($histo->selected==-1) if ( $histo->selected==3) $cat =$http->get("cat","number")

Definition at line 255 of file fiche.inc.php.

◆ $categorie

$categorie = new ISelect('cat')

Show first the form.

Definition at line 37 of file fiche.inc.php.

◆ $clean_lettering

$clean_lettering =new Lettering($cn)

Definition at line 490 of file fiche.inc.php.

◆ $cn

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

◆ $exercice

$exercice = $g_user->get_exercice()

Definition at line 46 of file fiche.inc.php.

◆ $export_csv

$export_csv = '<FORM METHOD="get" ACTION="export.php" style="display:inline">'

Definition at line 271 of file fiche.inc.php.

◆ $export_pdf

$export_pdf = '<FORM METHOD="get" ACTION="export.php" style="display:inline">'

Definition at line 258 of file fiche.inc.php.

◆ $export_print

$export_print = HtmlInput::print_window()

Definition at line 269 of file fiche.inc.php.

◆ $fd_id

$fd_id =$categorie->selected

Definition at line 104 of file fiche.inc.php.

Referenced by Fiche_Def\Add(), and Fiche\get_categorie().

◆ $fiche

$fiche = new Fiche($cn)

Definition at line 488 of file fiche.inc.php.

◆ $g_failed

global $g_failed

Definition at line 30 of file fiche.inc.php.

◆ $g_user

global $g_user

Definition at line 30 of file fiche.inc.php.

◆ $gDossier

$gDossier = dossier::id()

Definition at line 27 of file fiche.inc.php.

◆ $h_add_card_b

$h_add_card_b = new IButton('add_card')

Definition at line 108 of file fiche.inc.php.

◆ $histo

$histo = new ISelect('histo')

Definition at line 60 of file fiche.inc.php.

◆ $http

$http =new HttpInput()

Definition at line 29 of file fiche.inc.php.

◆ $icall

$icall = new ICheckBox("allcard", 1)

Definition at line 42 of file fiche.inc.php.

◆ $iperiode

$iperiode = new Periode($cn)

Definition at line 47 of file fiche.inc.php.

◆ $periode_end

$periode_end = new IDate('end')

Definition at line 51 of file fiche.inc.php.

Referenced by Acc_Bilan\display_form(), and Stock\search_box().

◆ $periode_start

$periode_start = new IDate('start')

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

Referenced by Acc_Bilan\display_form(), and Stock\search_box().

◆ $phisto

$phisto =$http->get("histo","number")

Definition at line 256 of file fiche.inc.php.

◆ $str

$str
Initial value:
= "if (g('histo').value==3 || g('histo').value== -1 ) {
g('trstart').style.display='none';g('trend').style.display='none';g('allcard').style.display='none';}
else {g('trstart').style.display='';g('trend').style.display='';g('allcard').style.display='';}
if ( g('histo').value== -1 ) { g('allcard').style.display='';}
"

Definition at line 91 of file fiche.inc.php.

Referenced by HtmlInput\anchor(), HtmlInput\anchor_empty(), Noalyss_Appearance\build_input_row(), Follow_Up\create_query(), decodeURIbycharacter(), decodeURIComponentbycharacter(), Acc_Ledger\display_warning(), Fiche_Def\DisplayAttribut(), Noalyss_Csv\encode(), Sort_Table\get_header(), ITva_Popup\input(), Noalyss_Appearance\input_form(), Fiche_Def\myList(), PDF_Operation\print_acc_writing(), PDF_Operation\print_purchase(), PDF_Operation\print_sale(), and unescapebycharacter().

◆ $str_add_card

$str_add_card = ($g_user->check_action(FICADD) == 1) ? $h_add_card_b->input() : ""

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

◆ $str_categorie

$str_categorie = $categorie->input()

Definition at line 40 of file fiche.inc.php.

◆ $str_end

$str_end = $periode_end->input()

Definition at line 57 of file fiche.inc.php.

Referenced by Anticipation\display().

◆ $str_histo

$str_histo = $histo->input()

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

◆ $str_icall

$str_icall = $icall->input()

Definition at line 44 of file fiche.inc.php.

◆ $str_start

$str_start = $periode_start->input()

Definition at line 56 of file fiche.inc.php.

Referenced by Anticipation\display().

◆ else

if(isDate( $_REQUEST[ 'start'])==null||isDate( $_REQUEST[ 'end'])==null) if( $histo->selected==8) if($histo->selected==7) if($histo->selected==4|| $histo->selected==5) if ( $allcard==1) else
Initial value:
{
$p_cat=$http->request("cat","number")
$http
Definition: fiche.inc.php:29

Definition at line 478 of file fiche.inc.php.

◆ if

if( $allcard==0) if($array==null && $allcard==0 && $histo->selected !=3) (   $array = = null && $allcard == 0 && $histo->selected != 3)

Definition at line 125 of file fiche.inc.php.

◆ javascript

$h_add_card_b javascript
Initial value:
= 'onchange="if (this.value==3 || this.value==-1) {
g(&quot;trstart&quot;).style.display=&quot;none&quot;;g(&quot;trend&quot;).style.display=&quot;none&quot;;g(&quot;allcard&quot;).style.display=&quot;none&quot;;}
else {g(&quot;trstart&quot;).style.display=&quot;&quot;;g(&quot;trend&quot;).style.display=&quot;&quot;;g(&quot;allcard&quot;).style.display=&quot;&quot;;}"'

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

◆ label

$h_add_card_b label = _('Créer une nouvelle fiche')

Definition at line 109 of file fiche.inc.php.

◆ selected

$histo selected = $http->get('cat','number',0)

Definition at line 39 of file fiche.inc.php.

◆ value

$histo value = $cn->make_array("select fd_id,fd_label||' ('||(select count(*) from fiche where fiche.fd_id=fiche_def.fd_id)::text||')' from fiche_def order by fd_label")

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