Browse Source

Champs pour spécifier sous-traitance appel d'offre pour mention TVA

Mathieu Moulin 2 years ago
parent
commit
cc07285f96
2 changed files with 5 additions and 1 deletions
  1. 4 1
      class/actions_mmidocuments.class.php
  2. 1 0
      langs/fr_FR/mmidocuments.lang

+ 4 - 1
class/actions_mmidocuments.class.php

@@ -103,7 +103,10 @@ class ActionsMMIDocuments extends MMI_Actions_1_0
 					}
 					// FR avec code intra et tout qui va bien
 					elseif ($client->tva_intra && $adresse_fac->country_code == 'FR') {
-						$vat_info = $langs->transnoentities("VATIsNotUsedForFR");
+						if (!empty($object->array_options['options_appeloffre']) && !empty($object->array_options['options_appeloffre_soustraitant']))
+							$vat_info = $langs->transnoentities("VATIsNotUsedForFRAppelOffresSSTraitant");
+						else
+							$vat_info = $langs->transnoentities("VATIsNotUsedForFR");
 					}
 					// UE avec code intra et tout qui va bien
 					elseif ($client->tva_intra && in_array($adresse_fac->country_code, $countries_eu)) {

+ 1 - 0
langs/fr_FR/mmidocuments.lang

@@ -83,6 +83,7 @@ VATIsNotUsedForTransitaire = Exonération de TVA - Transitaire
 VATIsNotUsedForDOM = Exonération de TVA en application de l’article 294 du code général des impôts (DOM)
 VATIsNotUsedForTOM = Exonération de TVA article 262 I du CGI (TOM)
 VATIsNotUsedForFR = Autoliquidation, Exonération de TVA art. 262 ter, I du CGI
+VATIsNotUsedForFRAppelOffresSSTraitant = TVA due par le preneur assujetti - autoliquidation en application de l'article 242 nonies A, I-13° de l'annexe II au CGI
 VATIsNotUsedForEU = Exonération de TVA art. 262 ter, I du CGI
 VATIsNotUsedForIslands = TVA non applicable – art. 259-1 du CGI (îles)
 VATIsNotUsedForExport = TVA non applicable – art. 259-1 du CGI (Export hors UE)