noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
export_gl_csv.php File Reference

create GL comptes as CSV. Argument $_GET More...

Go to the source code of this file.

Variables

 $a_accounting =Acc_Account_Ledger::get_used_accounting($from_periode,$to_periode,$from_poste,$to_poste)
 
 $accounting_item_id =$http->get('poste_id',"string","")
 
 $cn =Dossier::connect()
 
 $export =new Noalyss_Csv(_('grandlivre'))
 
 $from_periode = $http->get("from_periode","date")
 
 $from_poste = $http->get("from_poste")
 
 $gDossier =dossier::id()
 
if(count($a_accounting)==0) $header = array( _("Date"), _("Référence"), _("Libellé"), _("Pièce"),_("Lettrage"),_("Type"), _("Débit"), _("Crédit"), _("Solde") )
 
 $http =new HttpInput()
 
 $l =(isset($_GET['letter']))?2:0
 
 $s =(isset($_REQUEST['solded']))?1:0
 
 $to_periode = $http->get("to_periode","date")
 
 $to_poste = $http->get("to_poste")
 
foreach($a_accounting as $accounting_item) exit
 

Detailed Description

create GL comptes as CSV. Argument $_GET

Array
(
[gDossier] => 10104
[bt_csv] => Export CSV
[act] => CSV:glcompte
[type] => poste
[p_action] => impress
[from_periode] => 01.01.2016
[to_periode] => 31.12.2016
[from_poste] =>
[to_poste] =>
)
$anc_grandlivre from_poste
$anc_grandlivre to_poste
$input_from type

Definition in file export_gl_csv.php.

Variable Documentation

◆ $a_accounting

$a_accounting =Acc_Account_Ledger::get_used_accounting($from_periode,$to_periode,$from_poste,$to_poste)

Definition at line 59 of file export_gl_csv.php.

◆ $accounting_item_id

$accounting_item_id =$http->get('poste_id',"string","")

Definition at line 56 of file export_gl_csv.php.

◆ $cn

$cn =Dossier::connect()

Definition at line 53 of file export_gl_csv.php.

◆ $export

$export =new Noalyss_Csv(_('grandlivre'))

Definition at line 55 of file export_gl_csv.php.

◆ $from_periode

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

Definition at line 46 of file export_gl_csv.php.

◆ $from_poste

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

Definition at line 48 of file export_gl_csv.php.

◆ $gDossier

$gDossier =dossier::id()

Definition at line 51 of file export_gl_csv.php.

◆ $header

if (count( $a_accounting)==0) $header = array( _("Date"), _("Référence"), _("Libellé"), _("Pièce"),_("Lettrage"),_("Type"), _("Débit"), _("Crédit"), _("Solde") )

◆ $http

$http =new HttpInput()

Definition at line 45 of file export_gl_csv.php.

◆ $l

$l =(isset($_GET['letter']))?2:0

Definition at line 71 of file export_gl_csv.php.

◆ $s

◆ $to_periode

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

Definition at line 47 of file export_gl_csv.php.

◆ $to_poste

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

Definition at line 49 of file export_gl_csv.php.

◆ exit

foreach ( $a_accounting as $accounting_item) exit

Definition at line 200 of file export_gl_csv.php.