diff --git a/htdocs/langs/en_US/paypal.lang b/htdocs/langs/en_US/paypal.lang index 42a95d8002b..56093e07a74 100644 --- a/htdocs/langs/en_US/paypal.lang +++ b/htdocs/langs/en_US/paypal.lang @@ -31,6 +31,7 @@ OrderIsCreated=Order created InvoiceIsCreated=Invoice created PaypalCreateOrderEnabled=Enable the ability to create customer orders PaypalCreateInvoiceEnabled=Enable the ability to create customer invoices +UseThePriceDefinedInPaypal=Use the price defined in Paypal instead of the one defined in Dolibarr DefaultProductShippingCosts=Select the product to be used for adding shipping costs. DefaultPaypalAccount=Select the bank account to be used as a Paypal account, this will deduct the Paypal fee when adding a payment. diff --git a/htdocs/langs/fr_FR/paypal.lang b/htdocs/langs/fr_FR/paypal.lang index 6a73994a273..6e74ebcaceb 100644 --- a/htdocs/langs/fr_FR/paypal.lang +++ b/htdocs/langs/fr_FR/paypal.lang @@ -31,6 +31,7 @@ OrderIsCreated=Commande créée InvoiceIsCreated=Facture créée PaypalCreateOrderEnabled=Activer la possibilité de créer des commandes clients. PaypalCreateInvoiceEnabled=Activer la possibilité de créer des factures clients. +UseThePriceDefinedInPaypal=Utiliser le prix défini dans Paypal au lieu de celui défini dans Dolibarr DefaultProductShippingCosts=Sélectionnez le produit qui sera utilisé pour l'ajout des frais de port. DefaultPaypalAccount=Sélectionner le compte bancaire qui sera utilisé comme compte Paypal, ceci permettra de déduire les frais Paypal lors de l'ajout d'un paiement. diff --git a/htdocs/paypal/admin/import.php b/htdocs/paypal/admin/import.php index fda11b0fb64..c0a60c09880 100755 --- a/htdocs/paypal/admin/import.php +++ b/htdocs/paypal/admin/import.php @@ -203,6 +203,33 @@ if ($conf->facture->enabled) print ''; } +// Invoice +if ($conf->facture->enabled) +{ + $var=!$var; + print '