Plugins  LAST
 All Data Structures Files Functions Variables Pages
Variables
decl_tva.inc.php File Reference

this file is included to create a new VAT declaration More...

Go to the source code of this file.

Variables

if(isset($_REQUEST['year'])&&(trim(strlen($_REQUEST['year']))
< 4||isNumber($_REQUEST['year'])==0||$_REQUEST['year']
< 2000||$_REQUEST['year']>
2100)) if(!isset($_REQUEST['decl'])) 
$cn =Dossier::connect()
 
if(isset($_POST['save'])) $tva =new Ext_Tva($cn)
 
if($_REQUEST['periodic']==1)
if($_REQUEST['periodic']==2) 
try
 
 catch (Exception $e)
 

Detailed Description

this file is included to create a new VAT declaration

Definition in file decl_tva.inc.php.

Variable Documentation

if (isset($_REQUEST['year'])&&(trim(strlen($_REQUEST['year']))< 4||isNumber($_REQUEST['year'])==0||$_REQUEST['year']< 2000||$_REQUEST['year']>2100)) if (!isset($_REQUEST['decl'])) $cn =Dossier::connect()

Definition at line 44 of file decl_tva.inc.php.

if (isset($_POST['save'])) $tva =new Ext_Tva($cn)

Definition at line 59 of file decl_tva.inc.php.

Referenced by RAPAV_Account_Tva\input(), and Impdol_Operation\transfer().

catch(Exception $e)

Definition at line 80 of file decl_tva.inc.php.

if ($_REQUEST['periodic']==1) if ($_REQUEST['periodic']==2) try
Initial value:
{
$r=$tva->compute()
$r
if(isset($_POST['save'])) $tva

Definition at line 78 of file decl_tva.inc.php.