Skip to content
Snippets Groups Projects
Commit aadfca4b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Checkstyle

parent e340aa36
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,8 @@ class Facturation ...@@ -169,7 +169,8 @@ class Facturation
/** /**
* Remove a product from panel * Remove a product from panel
* *
* @param aArticle Id of line into cart to remove * @param int $aArticle Id of line into cart to remove
* @return void
*/ */
public function supprArticle($aArticle) public function supprArticle($aArticle)
{ {
...@@ -241,6 +242,8 @@ class Facturation ...@@ -241,6 +242,8 @@ class Facturation
/** /**
* Reinitialisation des attributs persistants * Reinitialisation des attributs persistants
*
* @return void
*/ */
public function raz_pers() public function raz_pers()
{ {
...@@ -261,7 +264,8 @@ class Facturation ...@@ -261,7 +264,8 @@ class Facturation
/** /**
* Getter for id * Getter for id
* @param aId *
* @param int $aId Id
* @return id * @return id
*/ */
public function id($aId=null) public function id($aId=null)
...@@ -269,26 +273,28 @@ class Facturation ...@@ -269,26 +273,28 @@ class Facturation
if ( !$aId ) if ( !$aId )
{ {
return $this->id; return $this->id;
} else if ( $aId == 'RESET' ) }
else if ( $aId == 'RESET' )
{ {
$this->id = NULL; $this->id = NULL;
} else }
else
{ {
$this->id = $aId; $this->id = $aId;
} }
} }
/** /**
* Getter for ref * Getter for ref
* @param $aRef *
* @param string $aRef Ref
* @return string Ref
*/ */
public function ref($aRef=null) public function ref($aRef=null)
{ {
...@@ -310,8 +316,9 @@ class Facturation ...@@ -310,8 +316,9 @@ class Facturation
/** /**
* Getter for qte * Getter for qte
* @param $aQte *
* @return * @param int $aQte Qty
* @return int Qty
*/ */
public function qte( $aQte=null ) public function qte( $aQte=null )
{ {
...@@ -334,8 +341,8 @@ class Facturation ...@@ -334,8 +341,8 @@ class Facturation
/** /**
* Getter for stock * Getter for stock
* *
* @param aStock * @param string $aStock Stock
* @return * @return string Stock
*/ */
public function stock($aStock=null) public function stock($aStock=null)
{ {
...@@ -358,8 +365,8 @@ class Facturation ...@@ -358,8 +365,8 @@ class Facturation
/** /**
* Getter for remise_percent * Getter for remise_percent
* *
* @param aRemisePercent * @param string $aRemisePercent Discount
* @return * @return string Discount
*/ */
public function remise_percent($aRemisePercent=null) public function remise_percent($aRemisePercent=null)
{ {
...@@ -382,8 +389,8 @@ class Facturation ...@@ -382,8 +389,8 @@ class Facturation
/** /**
* Getter for montant_remise * Getter for montant_remise
* *
* @param aMontantRemise * @param int $aMontantRemise Amount
* @return * @return string Amount
*/ */
public function montant_remise($aMontantRemise=null) public function montant_remise($aMontantRemise=null)
{ {
...@@ -407,8 +414,8 @@ class Facturation ...@@ -407,8 +414,8 @@ class Facturation
/** /**
* Getter for prix * Getter for prix
* *
* @param aPrix * @param int $aPrix Price
* @return * @return string Stock
*/ */
public function prix ( $aPrix=null ) public function prix ( $aPrix=null )
{ {
...@@ -432,8 +439,8 @@ class Facturation ...@@ -432,8 +439,8 @@ class Facturation
/** /**
* Getter for tva * Getter for tva
* *
* @param aTva * @param int $aTva Vat
* @return * @return int Vat
*/ */
public function tva ( $aTva=null ) public function tva ( $aTva=null )
{ {
...@@ -455,8 +462,10 @@ class Facturation ...@@ -455,8 +462,10 @@ class Facturation
} }
/** /**
* Get num invoice
* *
* @param $aNumFacture * @param string $aNumFacture Invoice ref
* @return string Invoice ref
*/ */
public function num_facture( $aNumFacture=null ) public function num_facture( $aNumFacture=null )
{ {
...@@ -477,8 +486,10 @@ class Facturation ...@@ -477,8 +486,10 @@ class Facturation
} }
/** /**
* Get payment mode
* *
* @param unknown_type $aModeReglement * @param int $aModeReglement Payment mode
* @return int Payment mode
*/ */
public function mode_reglement( $aModeReglement=null ) public function mode_reglement( $aModeReglement=null )
{ {
...@@ -500,8 +511,10 @@ class Facturation ...@@ -500,8 +511,10 @@ class Facturation
} }
/** /**
* Get amount
* *
* @param $aMontantEncaisse * @param int $aMontantEncaisse Amount
* @return int Amount
*/ */
public function montant_encaisse( $aMontantEncaisse=null ) public function montant_encaisse( $aMontantEncaisse=null )
{ {
...@@ -523,8 +536,10 @@ class Facturation ...@@ -523,8 +536,10 @@ class Facturation
} }
/** /**
* Get amount
* *
* @param $aMontantRendu * @param int $aMontantRendu Amount
* @return int Amount
*/ */
public function montant_rendu( $aMontantRendu=null ) public function montant_rendu( $aMontantRendu=null )
{ {
...@@ -545,12 +560,13 @@ class Facturation ...@@ -545,12 +560,13 @@ class Facturation
} }
/** /**
* Get payment date
* *
* @param $aPaiementLe * @param date $aPaiementLe Date
* @return date Date
*/ */
public function paiement_le( $aPaiementLe=null ) public function paiement_le( $aPaiementLe=null )
{ {
if ( !$aPaiementLe ) { if ( !$aPaiementLe ) {
return $this->paiement_le; return $this->paiement_le;
...@@ -564,16 +580,16 @@ class Facturation ...@@ -564,16 +580,16 @@ class Facturation
$this->paiement_le = $aPaiementLe; $this->paiement_le = $aPaiementLe;
} }
} }
/** /**
* Get totla HT
* *
* @param $aTotalHt * @param int $aTotalHt Total amount
* @return int Total amount
*/ */
public function prix_total_ht( $aTotalHt=null ) public function prix_total_ht( $aTotalHt=null )
{ {
if ( !$aTotalHt ) { if ( !$aTotalHt ) {
return $this->prix_total_ht; return $this->prix_total_ht;
...@@ -587,16 +603,16 @@ class Facturation ...@@ -587,16 +603,16 @@ class Facturation
$this->prix_total_ht = $aTotalHt; $this->prix_total_ht = $aTotalHt;
} }
} }
/** /**
* Get amount vat
* *
* @param $aMontantTva * @param int $aMontantTva Amount vat
* @return int Amount vat
*/ */
public function montant_tva( $aMontantTva=null ) public function montant_tva( $aMontantTva=null )
{ {
if ( !$aMontantTva ) { if ( !$aMontantTva ) {
return $this->montant_tva; return $this->montant_tva;
...@@ -614,12 +630,13 @@ class Facturation ...@@ -614,12 +630,13 @@ class Facturation
} }
/** /**
* Get total TTC
* *
* @param $aTotalTtc * @param int $aTotalTtc Amount ttc
* @return int Amount ttc
*/ */
public function prix_total_ttc( $aTotalTtc=null ) public function prix_total_ttc( $aTotalTtc=null )
{ {
if ( !$aTotalTtc ) if ( !$aTotalTtc )
{ {
return $this->prix_total_ttc; return $this->prix_total_ttc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment