Task #4124 : TVA declaration
This commit is contained in:
parent
21ca05d764
commit
c00369cb32
6 changed files with 127 additions and 8 deletions
|
|
@ -20,6 +20,8 @@
|
|||
************************* File = form_csv.php ****************
|
||||
************************* File = form_pdf.php ****************
|
||||
************************* File = form.php ****************
|
||||
************************* File = f.php ****************
|
||||
************************* File = g.php ****************
|
||||
************************* File = html_balance.php ****************
|
||||
************************* File = index.php ****************
|
||||
************************* File = jrn_add.php ****************
|
||||
|
|
@ -50,6 +52,7 @@
|
|||
************************* File = show_tva.php ****************
|
||||
************************* File = stock.php ****************
|
||||
************************* File = test.php ****************
|
||||
************************* File = t.php ****************
|
||||
************************* File = user_advanced.php ****************
|
||||
************************* File = user_compta.php ****************
|
||||
************************* File = user_impress.php ****************
|
||||
|
|
@ -195,6 +198,20 @@ ac_common.php * gen :
|
|||
ac_common.php * -
|
||||
ac_common.php * return: string
|
||||
ac_common.php */
|
||||
ac_common.php /* function getPeriodeFromDate
|
||||
ac_common.php **************************************************
|
||||
ac_common.php * Purpose : Return the period corresponding to the
|
||||
ac_common.php * date
|
||||
ac_common.php *
|
||||
ac_common.php * parm :
|
||||
ac_common.php * - p_cn database connection
|
||||
ac_common.php * - the date 'MM.YYYY'
|
||||
ac_common.php * gen :
|
||||
ac_common.php * - none
|
||||
ac_common.php *
|
||||
ac_common.php * return:
|
||||
ac_common.php * parm_periode.p_id
|
||||
ac_common.php */
|
||||
************************* File = balance.php ****************
|
||||
************************* File = central_inc.php ****************
|
||||
central_inc.php /* function Centralise
|
||||
|
|
@ -356,6 +373,17 @@ class_poste.php * return:
|
|||
class_poste.php * - none
|
||||
class_poste.php *
|
||||
class_poste.php */
|
||||
class_poste.php /* function GetSolde
|
||||
class_poste.php * Purpose : give the balance of an account
|
||||
class_poste.php *
|
||||
class_poste.php * parm :
|
||||
class_poste.php * - cond
|
||||
class_poste.php * gen :
|
||||
class_poste.php * - none
|
||||
class_poste.php * return:
|
||||
class_poste.php * - balance of the account
|
||||
class_poste.php *
|
||||
class_poste.php */
|
||||
************************* File = class_user.php ****************
|
||||
class_user.php /* function CheckAdmin
|
||||
class_user.php **************************************************
|
||||
|
|
@ -492,6 +520,9 @@ fiche_inc.php * - none
|
|||
fiche_inc.php * return:
|
||||
fiche_inc.php * - none
|
||||
fiche_inc.php *
|
||||
fiche_inc.php * NOTE STAN: je ne trouve pas le nom "EncodeFiche" super claire pour une fonction qui affiche les détails d'une fiche...
|
||||
fiche_inc.php * on ne changerait pas en "DisplayFiche" ?
|
||||
fiche_inc.php *
|
||||
fiche_inc.php */
|
||||
fiche_inc.php /* function GetBaseFiche
|
||||
fiche_inc.php ***************************************************
|
||||
|
|
@ -1315,6 +1346,19 @@ impress_inc.php * - array sum (deb) sum(cred)
|
|||
impress_inc.php *
|
||||
impress_inc.php */
|
||||
impress_inc.php /* function ParseFormula
|
||||
impress_inc.php * Purpose Parse a formula
|
||||
impress_inc.php *
|
||||
impress_inc.php * parm :
|
||||
impress_inc.php * - $p_cn connexion
|
||||
impress_inc.php * - $p_label
|
||||
impress_inc.php * - $p_formula
|
||||
impress_inc.php * gen :
|
||||
impress_inc.php * - none
|
||||
impress_inc.php * return:
|
||||
impress_inc.php * - array
|
||||
impress_inc.php *
|
||||
impress_inc.php */
|
||||
impress_inc.php /* function GetFormulaValue
|
||||
impress_inc.php * Purpose : Parse the formula contained in the fo_formula
|
||||
impress_inc.php * field and return a array containing all the columns
|
||||
impress_inc.php *
|
||||
|
|
@ -1652,6 +1696,7 @@ poste.php *
|
|||
poste.php * parm :
|
||||
poste.php * - connection
|
||||
poste.php * - account
|
||||
poste.php * - cond
|
||||
poste.php * gen :
|
||||
poste.php * - none
|
||||
poste.php * return:
|
||||
|
|
|
|||
|
|
@ -580,7 +580,7 @@ Op
|
|||
Par exemple, le total des ventes, le total encore à payer, la différence
|
||||
entre les entrées et les charges... Il n'y a pas vraiment de limite.
|
||||
|
||||
<p> Les formulaires permettent d'utilisent des formules (round,*,-)
|
||||
<p> Les formulaires permettent d'utilisent des formules (mod,round,*,-)
|
||||
sur des soldes de comptes.
|
||||
|
||||
</sect1>
|
||||
|
|
@ -592,6 +592,10 @@ sur des soldes de comptes.
|
|||
il faut utiliser le %;
|
||||
<item>Les soldes sont toujours positifs et vous ne savez pas
|
||||
s'ils sont au débit ou au crédit.
|
||||
<item>Si vous souhaitez commencer à une autre période pour certains
|
||||
compte et donc avoir plusieurs intervalles pour un formulaire, vous
|
||||
devez utiliser l'option FROM=MM.YYYY (voir exemple). Ce genre d'option est
|
||||
très utile pour par exemple les déclarations de TVA.
|
||||
</itemize>
|
||||
|
||||
<p>
|
||||
|
|
@ -600,6 +604,7 @@ Exemples de formule:
|
|||
Bénéfice brute [7%]-[6%]
|
||||
Impot estimé (sans compte les amortissements) ([7%]-[6%])/0.24
|
||||
Total des comptes en banque [550%]
|
||||
Total TVA récolté depuis janvier 2005 : [4511] FROM=01.2005
|
||||
</verb>
|
||||
|
||||
</sect1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue