noalyss Version-9
Variables
ajax_display_letter.php File Reference

show the lettered operation More...

Go to the source code of this file.

Variables

 $arow =$cn->get_array($sql, array($j_id))
 
 $date_error =""
 
 $detail ="<A class=\"detail\" style=\"display:inline\" HREF=\"javascript:modifyOperation('".$row['jr_id']."',".$gDossier.")\" > ".$row['jr_internal']."</A>"
 
 $end =new IDate('search_end')
 
catch(Exception $e) $exercice =$g_user->get_exercice()
 
 $form ='<div id="result" style="float:top;clear:both">'
 
 $html =$r.$form
 
 $http =new HttpInput()
 
 $iside =new ISelect('side')
 
 $j_id =$http->get("j_id","number")
 
 $line =td(_('Montant min. '))
 
 $max =new INum('max_amount')
 
 $max_amount =(isset($max_amount))?$max_amount:$row['j_montant']
 
 $min =new INum('min_amount')
 
 $min_amount =(isset($min_amount))?$min_amount:$row['j_montant']
 
 $op =$http->get("op")
 
 $periode =new Periode($cn)
 
 $r =''
 
 $ret =new IButton('return')
 
 $row =$arow[0]
 
 $search_end =$http->get("search_end","date")
 
 $search_start =$http->get("search_start")
 
 $sql
 
 $start =new IDate('search_start')
 
if(!isset($side)) else
 if $side is not then More...
 
$ret javascript ="$('detail').hide();$('list').show();$('search').show();"
 
$ret label =_('Retour')
 
 try
 
$min value =(isset($min_amount))?$min_amount:$row['j_montant']
 

Detailed Description

show the lettered operation

Definition in file ajax_display_letter.php.

Variable Documentation

◆ $arow

$arow =$cn->get_array($sql, array($j_id))

Definition at line 59 of file ajax_display_letter.php.

◆ $date_error

$date_error =""

Definition at line 102 of file ajax_display_letter.php.

◆ $detail

$detail ="<A class=\"detail\" style=\"display:inline\" HREF=\"javascript:modifyOperation('".$row['jr_id']."',".$gDossier.")\" > ".$row['jr_internal']."</A>"

◆ $end

$end =new IDate('search_end')

◆ $exercice

catch (Exception $e) $exercice =$g_user->get_exercice()

◆ $form

$form ='<div id="result" style="float:top;clear:both">'

◆ $html

$html =$r.$form

Definition at line 229 of file ajax_display_letter.php.

◆ $http

$http =new HttpInput()

Definition at line 31 of file ajax_display_letter.php.

◆ $iside

$iside =new ISelect('side')

Definition at line 137 of file ajax_display_letter.php.

◆ $j_id

$j_id =$http->get("j_id","number")

◆ $line

$line =td(_('Montant min. '))

◆ $max

$max =new INum('max_amount')

Definition at line 96 of file ajax_display_letter.php.

◆ $max_amount

$max_amount =(isset($max_amount))?$max_amount:$row['j_montant']

Definition at line 98 of file ajax_display_letter.php.

◆ $min

$min =new INum('min_amount')

◆ $min_amount

$min_amount =(isset($min_amount))?$min_amount:$row['j_montant']

Definition at line 91 of file ajax_display_letter.php.

◆ $op

$op =$http->get("op")

Definition at line 36 of file ajax_display_letter.php.

◆ $periode

$periode =new Periode($cn)

◆ $r

$r =''

Definition at line 61 of file ajax_display_letter.php.

◆ $ret

$ret =new IButton('return')

Definition at line 51 of file ajax_display_letter.php.

Referenced by Default_Menu\__construct(), Data_SQL\__toString(), Acc_Ledger_History\add_additional_tax_info(), add_http_link(), Acc_Ledger_History_Purchase\add_vat_info(), Acc_Ledger_History_Sale\add_vat_info(), Inplace_Edit\ajax_input(), Noalyss_User\Check(), Data_SQL\collect_objects(), Acc_Ledger\confirm(), Fiche_Def\count_category(), Pre_Op_Advanced\display(), Fiche\Display(), Calendar\display(), Todo_List\display(), Periode\display_periode_global(), Profile_Menu\display_profile_menu_detail(), Card_Attribut_MTable\display_row_custom(), Manage_Table_SQL\display_table(), Acc_Account_Ledger\do_exist(), Manage_Table_SQL\execute_query(), Acc_Report\exist(), Follow_Up\export_csv(), Follow_Up\export_csv_detail(), Document\export_file(), Acc_Ledger_History\factory(), Periode\find_periode(), Anc_Group_Operation\form(), Anc_Plan\form(), Anc_Plan\form_new(), Document\generate(), Acc_Bilan\generate_odt(), Acc_Bilan\generate_plain(), Acc_Operation\get(), Anc_Plan\get(), Document\get(), Acc_Payment\get_all(), Table_Data_SQL\get_all_to_array(), Acc_Ledger_Purchase\get_detail_purchase(), Acc_Ledger_Sale\get_detail_sale(), Anc_Operation\get_jrid(), Acc_Ledger\get_last_pj(), Acc_Account\get_lib(), Anc_Plan\get_list(), Acc_Report\get_list(), Acc_Account_Ledger\get_name(), Acc_Ledger\get_name(), Acc_Reconciliation\get_not_reconciled(), Acc_Ledger\get_operation(), Acc_Ledger\get_other_amount(), Acc_Operation\get_quant(), Acc_Reconciliation\get_reconciled(), Acc_Reconciliation\get_reconciled_amount(), Periode_Ledger_Table\get_resource_periode_ledger(), Anc_Group\get_result(), Acc_Account_Ledger\get_row_date(), Acc_Ledger\get_solde(), Acc_Ledger\get_type(), Acc_Payment\get_valide(), getPeriodeName(), Anc_Operation\html_table(), HtmlInput\image_click(), Acc_Ledger\input(), IPeriod\input(), IColor\input(), Inplace_Edit\input(), Acc_Ledger_Fin\insert(), Acc_Ledger\listing(), Acc_Account_Ledger\load(), Forecast\load_all(), Acc_Ledger_Info\load_all(), HtmlInput\make_object_deprecated(), Data_SQL\next(), Document\parseDocument(), Acc_Ledger\previous_amount(), Card_Property\print(), Profile_Menu\printing(), Tag\query_active_tag(), Document\replace(), Document_modele\Save(), Acc_Plan_SQL\seek(), V_Currency_Last_Value_SQL\seek(), Table_Data_SQL\seek(), Acc_Operation\seek_group(), Tag_Action\select(), Tag_Operation\select(), Acc_Ledger_Search\select_ledger(), Acc_Ledger\select_ledger(), Document\send(), Tag\show_list(), ShowItem(), Html_Table\sql2table(), PDF_Operation\str_vat(), Fiche_Def\to_array(), Todo_List\toXML(), Document_modele\update(), Acc_Bilan\warning(), Calendar\zoom_calendar(), and Calendar\zoom_list().

◆ $row

$row =$arow[0]

Definition at line 60 of file ajax_display_letter.php.

◆ $search_end

$search_end =$http->get("search_end","date")

Definition at line 122 of file ajax_display_letter.php.

◆ $search_start

$search_start =$http->get("search_start")

Definition at line 105 of file ajax_display_letter.php.

◆ $sql

$sql
Initial value:
="select j_date,to_char(j_date,'DD.MM.YYYY') as j_date_fmt,J_POSTE,j_qcode,jr_id,
jr_comment,j_montant, j_debit,jr_internal from jrnx join jrn on (j_grpt=jr_grpt_id)
where j_id=$1"

Definition at line 56 of file ajax_display_letter.php.

◆ $start

$start =new IDate('search_start')

◆ else

if($obj_type=='account') else if ( $obj_type=='card') else
Initial value:
{
$iside->selected=$side
$side

if $side is not then

  • if jl_id exist and is > 0 show by default all the operation (=3)
  • if jl_id does not exist or is < 0 then show by default the opposite side

Definition at line 167 of file ajax_display_letter.php.

◆ javascript

$checkbox javascript ="$('detail').hide();$('list').show();$('search').show();"

◆ label

$detail label =_('Retour')

◆ try

try
Initial value:
{
$obj_type=$http->get("obj_type")

Definition at line 33 of file ajax_display_letter.php.

◆ value

$iside value =(isset($min_amount))?$min_amount:$row['j_montant']

Definition at line 90 of file ajax_display_letter.php.