noalyss Version-9
Functions | Variables
param_jrn.php File Reference

Go to the source code of this file.

Functions

 hide_ledger ()
 
 hide_row ()
 
 show_ledger_div ()
 

Variables

 $list =$cn->make_list('select fd_id from fiche_def where frd_id=4')
 
 $num =$cn->size()
 
 $Res =$cn->exec_sql("select fd_id,fd_label from fiche_def order by fd_label")
 
 endif =$actif->input()
 
$card extra =$cn->make_list('select fd_id from fiche_def where frd_id=4')
 
$negative javascript ="toggle_row_warning_enable('negative_amount','row_warning')"
 
$card name ='bank'
 
$card value =$qcode_bank
 

Function Documentation

◆ hide_ledger()

hide_ledger ( )

Definition at line 420 of file param_jrn.php.

421 {
422 for (var i=0;i<a_div.length;i++)
423 {
424 $(a_div[i]).style.display='none';
425 }
426 }

Referenced by show_ledger_div().

◆ hide_row()

hide_row ( )

Definition at line 427 of file param_jrn.php.

428 {
429 $('type_ods').style.display='none';
430 $('type_fin').style.display='none';
431 $('type_fin2').style.display='none';
432 $('type_fin3').style.display='none';
433 $('neg_amount').style.display='none';
434 $('row_warning').style.display='none';
435 }

Referenced by show_ledger_div().

◆ show_ledger_div()

show_ledger_div ( )

Definition at line 436 of file param_jrn.php.

437 {
438 hide_ledger();
439 var ch=$('p_jrn_type_select_id').options[$('p_jrn_type_select_id').selectedIndex].value;
440 if ( ch != -1 ) { $(ch+'_div').style.display='block';}
441 switch (ch) {
442 case 'FIN':
443 hide_row();
444 $('type_fin').style.display='table-row';
445 $('type_fin2').style.display='table-row';
446 $('type_fin3').style.display='table-row';
447 break;
448 case 'ODS':
449 hide_row();
450 $('type_ods').style.display='table-row';
451 break;
452 case 'ACH':
453 hide_row();
454 $('neg_amount').style.display='table-row';
455 toggle_row_warning_enable('negative_amount','row_warning');
456
457 break;
458 case 'VEN':
459 hide_row();
460 $('neg_amount').style.display='table-row';
461 toggle_row_warning_enable('negative_amount','row_warning');
462
463 break;
464
465 default:
466 hide_row();
467 }
468 }
hide_row()
Definition: param_jrn.php:427
hide_ledger()
Definition: param_jrn.php:420

References hide_ledger(), and hide_row().

+ Here is the call graph for this function:

Variable Documentation

◆ $list

$list =$cn->make_list('select fd_id from fiche_def where frd_id=4')

Definition at line 64 of file param_jrn.php.

◆ $num

$num =$cn->size()

Definition at line 230 of file param_jrn.php.

◆ $Res

$Res =$cn->exec_sql("select fd_id,fd_label from fiche_def order by fd_label")

Definition at line 229 of file param_jrn.php.

◆ endif

endif =$actif->input()

Definition at line 127 of file param_jrn.php.

◆ extra

$card extra =$cn->make_list('select fd_id from fiche_def where frd_id=4')

Definition at line 60 of file param_jrn.php.

◆ javascript

$negative javascript ="toggle_row_warning_enable('negative_amount','row_warning')"

Definition at line 100 of file param_jrn.php.

◆ name

$card name ='bank'

Definition at line 59 of file param_jrn.php.

◆ value

$card value =$qcode_bank

Definition at line 67 of file param_jrn.php.