noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
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
 
if( $allcard==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.
 
 $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)
 
 $inactive = new ICheckbox ('inactive',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_inactive =$inactive->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
 Balance.
 
 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 43 of file fiche.inc.php.

◆ $afiche

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

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

◆ $allcard

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

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

◆ $array

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

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

◆ $cat

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

Definition at line 298 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 533 of file fiche.inc.php.

◆ $cn

$cn = Dossier::connect()

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

◆ $exercice

$exercice = $g_user->get_exercice()

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

◆ $export_csv

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

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

◆ $export_pdf

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

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

◆ $export_print

$export_print = HtmlInput::print_window()

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

◆ $fd_id

$fd_id =$categorie->selected

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

Referenced by Fiche_Def\Add().

◆ $fiche

$fiche = new Fiche($cn)

Definition at line 531 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 128 of file fiche.inc.php.

◆ $histo

$histo = new ISelect('histo')

Definition at line 76 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 46 of file fiche.inc.php.

◆ $inactive

$inactive = new ICheckbox ('inactive',1)

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

◆ $iperiode

$iperiode = new Periode($cn)

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

◆ $periode_end

$periode_end = new IDate('end')

Definition at line 61 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 60 of file fiche.inc.php.

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

◆ $phisto

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

Definition at line 299 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 112 of file fiche.inc.php.

◆ $str_add_card

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

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

◆ $str_categorie

$str_categorie = $categorie->input()

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

◆ $str_end

$str_end = $periode_end->input()

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

Referenced by Anticipation\display().

◆ $str_histo

$str_histo = $histo->input()

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

◆ $str_icall

$str_icall = $icall->input()

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

◆ $str_inactive

$str_inactive =$inactive->input()

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

◆ $str_start

$str_start = $periode_start->input()

Definition at line 70 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")

Balance.

Lettering

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

◆ if

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

Definition at line 147 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 89 of file fiche.inc.php.

◆ label

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

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

◆ selected

$inactive 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.