diff --git a/ChangeLog b/ChangeLog index bbea29ab68ba8e10727e546d7c15c28b9ac14a4b..15b50425f451e3ba78e75b75a234fde28487033c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -41,18 +41,18 @@ For users: - New: A more responsive desgin for statistic box of home page. - Qual: Implement same rule for return value of all command line scripts (0 when success, <>0 if error). - New: [ task #1005 ] Adapting to Spanish legislation bill numbering -- New: [ task #1011 ] Now supplier order and invoice deal with payment terms and mode -- New: [ task #1014 ] Add option to recursivly add parent category -- New: [ task #1016 ] Can define a specific numbering for deposits -- New: [ task #918 ] Stock replenishment -- Fix: [ bug #992 ] Proforma invoices don't have a separated numeric count -- New : Add pdf link into supplier invoice list and supplier order list -- New : Genrate auto the PDF for supplier invoice -- New : Add category into filter webservice thirdparty method getListOfThirdParties -- New : Allow to define margin or mark rate during quoting, ordering, invoicing -- New : User permissions on margin module -- New : Add ref supplier into muscadet model -- New : Add ability to copy contact address to clipboard +- New: [ task #1011 ] Now supplier order and invoice deal with payment terms and mode. +- New: [ task #1014 ] Add option to recursivly add parent category. +- New: [ task #1016 ] Can define a specific numbering for deposits. +- New: [ task #918 ] Stock replenishment. +- Fix: [ bug #992 ] Proforma invoices don't have a separated numeric count. +- New : Add pdf link into supplier invoice list and supplier order list. +- New : Genrate auto the PDF for supplier invoice. +- New : Add category into filter webservice thirdparty method getListOfThirdParties. +- New : Allow to define margin or mark rate during quoting, ordering, invoicing. +- New : User permissions on margin module. +- New : Add ref supplier into muscadet model/ +- New : Add ability to copy contact address to clipboard. - New: Can use tag {mm} before {yy} even when there is a reset into numbering masks. - New: [ task #1060 ] Register fields localtax(1|2)_type into details tables. - New: [ task #923 ] Localtax support for ODT templates. diff --git a/dev/iso-normes/vat_number_names.txt b/dev/iso-normes/vat_number_names.txt new file mode 100644 index 0000000000000000000000000000000000000000..23fce59ed3b4ebd9909d20d6b2fadb5d745f8da7 --- /dev/null +++ b/dev/iso-normes/vat_number_names.txt @@ -0,0 +1 @@ +http://en.wikipedia.org/wiki/VAT_identification_number \ No newline at end of file diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 6faeb1fa951a190351bb8bd40121da93cb8f7e48..3b9d257314efaa4cc03adb68d00eb398a4b5eb92 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -57,6 +57,14 @@ if ($user->societe_id > 0) $socid = $user->societe_id; } +$object=new Facture($db); + +// Load object +if ($facid > 0) +{ + $ret=$object->fetch($facid); +} + // Initialize technical object to manage hooks of paiements. Note that conf->hooks_modules contains array array $hookmanager = new HookManager($db); $hookmanager->initHooks(array('paiementcard')); diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index c6413b4beaecf2824fa3f024d443ed14c8bf5511..692a340b6ca95405bd3213dba4dffa6f870a46b8 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1,6 +1,6 @@ <?php /* Copyright (C) 2006-2013 Laurent Destailleur <eldy@users.sourceforge.net> - * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> + * Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2010-2013 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr> * Copyright (C) 2011-2012 Philippe Grand <philippe.grand@atoo-net.com> @@ -464,7 +464,7 @@ abstract class CommonObject $sql.= " WHERE tc.element='".$this->element."'"; if ($activeonly == 1) $sql.= " AND tc.active=1"; // only the active type - + if (! empty($source)) $sql.= " AND tc.source='".$source."'"; $sql.= " ORDER by tc.".$order; @@ -1112,9 +1112,9 @@ abstract class CommonObject $row = $this->db->fetch_row($resql); $rows[] = $row[0]; // Add parent line into array rows $childrens = $this->getChildrenOfLine($row[0]); - if (! empty($children)) + if (! empty($childrens)) { - foreach($children as $child) + foreach($childrens as $child) { array_push($rows, $child); } @@ -2621,7 +2621,7 @@ abstract class CommonObject } } - + /* This is to show add lines */ diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 3296a879523df38f0928eed13a0f5723fcb28e56..4f5119697d0b708798b83b00085fbf1f6834d128 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4,7 +4,7 @@ * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org> * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> - * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> + * Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr> * Copyright (C) 2006 Marc Barilley/Ocebo <marc@ocebo.com> * Copyright (C) 2007 Franky Van Liedekerke <franky.van.liedekerker@telenet.be> @@ -800,7 +800,7 @@ class Form while ($i < $num) { $obj = $this->db->fetch_object($resql); - + if ($conf->global->SOCIETE_ADD_REF_IN_LIST) { if (($obj->client) && (!empty($obj->code_client))) { $label = $obj->code_client. ' - '; @@ -814,7 +814,7 @@ class Form { $label=$obj->nom; } - + if ($showtype) { if ($obj->client || $obj->fournisseur) $label.=' ('; @@ -2484,9 +2484,9 @@ class Form /** * Show a confirmation HTML form or AJAX popup. - * Easiest way to use this is with useajax=1. - * If you use useajax='xxx', you must also add jquery code to trigger opening of box (with correct parameters) - * just after calling this method. For example: + * Easiest way to use this is with useajax=1. + * If you use useajax='xxx', you must also add jquery code to trigger opening of box (with correct parameters) + * just after calling this method. For example: * print '<script type="text/javascript">'."\n"; * print 'jQuery(document).ready(function() {'."\n"; * print 'jQuery(".xxxlink").click(function(e) { jQuery("#aparamid").val(jQuery(this).attr("rel")); jQuery("#dialog-confirm-xxx").dialog("open"); return false; });'."\n"; @@ -2587,9 +2587,9 @@ class Form $more.='</table>'."\n"; } - // JQUI method dialog is broken with jmobile, we use standard HTML. + // JQUI method dialog is broken with jmobile, we use standard HTML. // Note: When using dol_use_jmobile, you must also check code for button use a GET url with action=xxx and output the confirm code only when action=xxx - if (! empty($conf->dol_use_jmobile)) $useajax=0; + if (! empty($conf->dol_use_jmobile)) $useajax=0; if ($useajax && $conf->use_javascript_ajax) { @@ -3376,7 +3376,7 @@ class Form // Disabled if seller is not subject to VAT $disabled=false; $title=''; - if (is_object($societe_vendeuse) && $societe_vendeuse->id == $mysoc->id && $societe_vendeuse->tva_assuj == "0") + if (is_object($societe_vendeuse) && $societe_vendeuse->id == $mysoc->id && $societe_vendeuse->tva_assuj == "0") { $title=' title="'.$langs->trans('VATIsNotUsed').'"'; $disabled=true; diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index a4830ebe0a992d58588c45e378b9fd92647fc8ba..7a855eb93259b4e950bf550b19432a982c8d6943 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -106,11 +106,12 @@ class Translate // Array force long code from first part, even if long code is defined $longforshort=array('ar'=>'ar_SA'); if (isset($longforshort[strtolower($langpart[0])])) $srclang=$longforshort[strtolower($langpart[0])]; - else { + else if (! is_numeric($langpart[1])) { // Second part YY may be a numeric with some Chrome browser $srclang=strtolower($langpart[0])."_".strtoupper($langpart[1]); $longforlong=array('no_nb'=>'nb_NO'); if (isset($longforlong[strtolower($srclang)])) $srclang=$longforlong[strtolower($srclang)]; } + else $srclang=strtolower($langpart[0])."_".strtoupper($langpart[0]); } else { // If it's for a codetouse that is a short code xx // Array to convert short lang code into long code. @@ -787,11 +788,11 @@ class Translate function get_translations_for_substitutions() { $substitutionarray = array(); - + foreach($this->tab_translate as $code => $label) { $substitutionarray['lang_'.$code] = $label; } - + return $substitutionarray; } } diff --git a/htdocs/core/tpl/objectline_view.tpl.php b/htdocs/core/tpl/objectline_view.tpl.php index 681b37f38906dc44d51447cbeadab8d7b6a8cf8a..5ad9ddeab5dc689c8aca1cbb1a207e469c1ccaf1 100644 --- a/htdocs/core/tpl/objectline_view.tpl.php +++ b/htdocs/core/tpl/objectline_view.tpl.php @@ -1,5 +1,5 @@ <?php -/* Copyright (C) 2010-2012 Regis Houssin <regis.houssin@capnetworks.com> +/* Copyright (C) 2010-2013 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2010-2011 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr> * Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro> @@ -65,7 +65,7 @@ { if ($line->fk_product > 0) { - echo $form->textwithtooltip($text,$description,3,'','',$i,0,($line->fk_parent_line?img_picto('', 'rightarrow'):'')); + echo $form->textwithtooltip($text,$description,3,'','',$i,0,(!empty($line->fk_parent_line)?img_picto('', 'rightarrow'):'')); // Show range echo get_date_range($line->date_start, $line->date_end); @@ -78,14 +78,14 @@ } else { - if (! empty($line->fk_parent_line)) echo img_picto('', 'rightarrow'); if ($type==1) $text = img_object($langs->trans('Service'),'service'); else $text = img_object($langs->trans('Product'),'product'); if (! empty($line->label)) { $text.= ' <strong>'.$line->label.'</strong>'; - echo $form->textwithtooltip($text,dol_htmlentitiesbr($line->description),3,'','',$i,0,($line->fk_parent_line?img_picto('', 'rightarrow'):'')); + echo $form->textwithtooltip($text,dol_htmlentitiesbr($line->description),3,'','',$i,0,(!empty($line->fk_parent_line)?img_picto('', 'rightarrow'):'')); } else { + if (! empty($line->fk_parent_line)) echo img_picto('', 'rightarrow'); echo $text.' '.dol_htmlentitiesbr($line->description); } diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 9636c632d12699f375d472b0f3c748c488492600..efa00af3d808cd63c6440ab96066f5ee6b11131d 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -70,11 +70,6 @@ $hidedesc = (GETPOST('hidedesc','int') ? GETPOST('hidedesc','int') : (! empty( $hideref = (GETPOST('hideref','int') ? GETPOST('hideref','int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0)); $object = new Expedition($db); -// Load object -if ($id > 0 || ! empty($ref)) -{ - $ret=$object->fetch($id, $ref); -} // Load object if ($id > 0 || ! empty($ref)) @@ -95,8 +90,6 @@ if ($action == 'add') { $error=0; - $object = new Expedition($db); - $db->begin(); $object->note = GETPOST('note','alpha'); diff --git a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql index 6fa35fa552c50174d6ee67996221b646d4717741..05372efbf30ea4f0f89ee3e9a7a28fb7ca8ce3a2 100755 --- a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql +++ b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql @@ -301,3 +301,12 @@ ALTER TABLE llx_facture_fourn MODIFY COLUMN fk_cond_reglement integer NULL; insert into llx_c_action_trigger (rowid,code,label,description,elementtype,rang) values (9,'COMPANY_SENTBYMAIL','Mails sent from third party card','Executed when you send email from third party card','societe',1); + +create table llx_contrat_extrafields +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp, + fk_object integer NOT NULL, + import_key varchar(14) -- import key +) ENGINE=innodb; + diff --git a/htdocs/install/mysql/tables/llx_contrat_extrafields.key.sql b/htdocs/install/mysql/tables/llx_contrat_extrafields.key.sql new file mode 100644 index 0000000000000000000000000000000000000000..277520d7c2e824f1fa65a757cceee38b3b0751de --- /dev/null +++ b/htdocs/install/mysql/tables/llx_contrat_extrafields.key.sql @@ -0,0 +1,20 @@ +-- =================================================================== +-- Copyright (C) 2013 Charles-Fr BENKE <charles.fr@benke.fr> +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. +-- +-- =================================================================== + + +ALTER TABLE llx_contrat_extrafields ADD INDEX idx_contrat_extrafields (fk_object); diff --git a/htdocs/install/mysql/tables/llx_contrat_extrafields.sql b/htdocs/install/mysql/tables/llx_contrat_extrafields.sql new file mode 100644 index 0000000000000000000000000000000000000000..75a1f9cabc9d9df161dd1ef42788076ce042c35c --- /dev/null +++ b/htdocs/install/mysql/tables/llx_contrat_extrafields.sql @@ -0,0 +1,25 @@ +-- ======================================================================== +-- Copyright (C) 2013 Charles-Fr BENKE <charles.fr@benke.fr> +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. +-- +-- ======================================================================== + +create table llx_contrat_extrafields +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp, + fk_object integer NOT NULL, + import_key varchar(14) -- import key +) ENGINE=innodb; diff --git a/htdocs/langs/bg_BG/companies.lang b/htdocs/langs/bg_BG/companies.lang index 5d1d8adf60e3ea7ca070dad3df91f54d57df5579..e2daf7c53bc7a8c6fba30c9cea6f09acce4831fe 100644 --- a/htdocs/langs/bg_BG/companies.lang +++ b/htdocs/langs/bg_BG/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professional ID 5 ProfId6=Professional ID 6 -ProfId1AR=Проф. Id едно (CUIT / Cuil) +ProfId1AR=Проф. Id едно (CUIL) ProfId2AR=Проф. Id 2 (Revenu зверове) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/da_DK/companies.lang b/htdocs/langs/da_DK/companies.lang index a10474280f6ec6a276efdd6c880bc52f90de1799..abaf28da9d60e42a2b763d1a1c75bae87877e45f 100644 --- a/htdocs/langs/da_DK/companies.lang +++ b/htdocs/langs/da_DK/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professionel ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (revenu Bestier) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/de_AT/companies.lang b/htdocs/langs/de_AT/companies.lang index a885eb31aa946fc5b90181fc374cc27cb9867722..70a7d5b1c3041632a9551795ab76abd88cf57f5a 100644 --- a/htdocs/langs/de_AT/companies.lang +++ b/htdocs/langs/de_AT/companies.lang @@ -301,7 +301,7 @@ ProfId1NL=KVK nummer ProfId2NL=- ProfId3NL=- ProfId4NL=- -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (Revenu Bestien) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/de_DE/companies.lang b/htdocs/langs/de_DE/companies.lang index 0bc933d848757d795e0bfbeb5266c5ec1655a950..e362c5542879fe586abec1682768306efc2bcac5 100644 --- a/htdocs/langs/de_DE/companies.lang +++ b/htdocs/langs/de_DE/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professional ID 5 ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (Revenu Bestien) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/en_US/languages.lang b/htdocs/langs/en_US/languages.lang index f44c0824c2c7b159608f64250694c101642d529a..eb082e1f1559aa37ed517faf0be682f37b9f6bc5 100644 --- a/htdocs/langs/en_US/languages.lang +++ b/htdocs/langs/en_US/languages.lang @@ -22,6 +22,7 @@ Language_es_AR=Spanish (Argentina) Language_es_HN=Spanish (Honduras) Language_es_MX=Spanish (Mexico) Language_es_PY=Spanish (Paraguay) +Language_es_PE=Spanish (Peru) Language_es_PR=Spanish (Puerto Rico) Language_et_EE=Estonian Language_fa_IR=Persian diff --git a/htdocs/langs/es_AR/companies.lang b/htdocs/langs/es_AR/companies.lang index 81f8cda5161c091137c2dc52b89b3cc87390b3c0..22a314d088a883d0cec88f004986d57bddf66610 100644 --- a/htdocs/langs/es_AR/companies.lang +++ b/htdocs/langs/es_AR/companies.lang @@ -1,3 +1,6 @@ # Dolibarr language file - es_AR - companies CHARSET=UTF-8 CompanyHasCreditNote=Este cliente tiene <b>%s %s</b> notas de crédito/anticipos disponibles +VATIntra=CUIT +VATIntraShort=CUIT +VATIntraVeryShort=CUIT \ No newline at end of file diff --git a/htdocs/langs/es_ES/languages.lang b/htdocs/langs/es_ES/languages.lang index 1ca07e971a1f85ae2773806bfc751077f63cd086..0f9d565f3a528dc2791457c6034fb99507835f57 100644 --- a/htdocs/langs/es_ES/languages.lang +++ b/htdocs/langs/es_ES/languages.lang @@ -21,6 +21,8 @@ Language_es_ES=Español Language_es_AR=Español (Argentina) Language_es_HN=Español (Honduras) Language_es_MX=Español (México) +Language_es_PY=Español (Paraguay) +Language_es_PE=Español (Perú) Language_es_PR=Español (Puerto Rico) Language_et_EE=Estonio Language_fa_IR=Persa @@ -29,6 +31,7 @@ Language_fr_BE=Francés (Bélgica) Language_fr_CA=Francés (Canadá) Language_fr_CH=Francés (Suiza) Language_fr_FR=Francés +Language_fr_NC=Francés (Nueva Caledonia) Language_he_IL=Hebreo Language_hu_HU=Húngaro Language_is_IS=Islandés diff --git a/htdocs/langs/es_HN/companies.lang b/htdocs/langs/es_HN/companies.lang index c0f5dce747fca008baf7eed962a3ba3657267b78..58896f39eafec87e737bef67ff78025c855ddcfb 100644 --- a/htdocs/langs/es_HN/companies.lang +++ b/htdocs/langs/es_HN/companies.lang @@ -1,4 +1,7 @@ # Dolibarr language file - es_HN - companies CHARSET=UTF-8 VATIsUsed=Sujeto a ISV -VATIsNotUsed=No sujeto a ISV \ No newline at end of file +VATIsNotUsed=No sujeto a ISV +VATIntra=RTN +VATIntraShort=RTN +VATIntraVeryShort=RTN \ No newline at end of file diff --git a/htdocs/langs/es_MX/companies.lang b/htdocs/langs/es_MX/companies.lang index 6c7e95b8796e35b5546a0cbf10ee629360107649..8a13efbdb559b15fa92c4594815874e774024347 100644 --- a/htdocs/langs/es_MX/companies.lang +++ b/htdocs/langs/es_MX/companies.lang @@ -2,4 +2,7 @@ CHARSET=UTF-8 State=Estado Town=Municipio -CompanyHasCreditNote=Este cliente tiene <b>%s %s</b> notas de crédito/anticipos disponibles \ No newline at end of file +CompanyHasCreditNote=Este cliente tiene <b>%s %s</b> notas de crédito/anticipos disponibles +VATIntra=RFC +VATIntraShort=RFC +VATIntraVeryShort=RFC \ No newline at end of file diff --git a/htdocs/langs/es_PE/companies.lang b/htdocs/langs/es_PE/companies.lang index 81d0eff2c55570966d635e14698b9e25ff1fa2d4..7b11f590caa86f888b4032a715fd7b433c2e2988 100644 --- a/htdocs/langs/es_PE/companies.lang +++ b/htdocs/langs/es_PE/companies.lang @@ -1,4 +1,7 @@ # Dolibarr language file - es_PU - companies CHARSET=UTF-8 VATIsUsed=Sujeto a IGV -VATIsNotUsed=No sujeto a IGV \ No newline at end of file +VATIsNotUsed=No sujeto a IGV +VATIntra=RUC +VATIntraShort=RUC +VATIntraVeryShort=RUC \ No newline at end of file diff --git a/htdocs/langs/et_EE/companies.lang b/htdocs/langs/et_EE/companies.lang index 558ab85399f90718a8e90943aef1172d12c2de54..06eb8aa93aae52e112b86ecd93f0c4ff25c7213f 100644 --- a/htdocs/langs/et_EE/companies.lang +++ b/htdocs/langs/et_EE/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professional ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (Revenu brutes) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/fi_FI/companies.lang b/htdocs/langs/fi_FI/companies.lang index d6f3cd6652feb31ab7a5d2844529fee815988edc..4223cc9a7b33c931bbd0bc28864c40bed194f244 100644 --- a/htdocs/langs/fi_FI/companies.lang +++ b/htdocs/langs/fi_FI/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional-tunnuksen 3 ProfId4=Professional-tunnuksen 4 ProfId5=Ammatillinen tunnus 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (revenu brutes) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/fr_FR/languages.lang b/htdocs/langs/fr_FR/languages.lang index e603c355b3775bada1f414a7bfc16cc58ca079d3..965f3b2f4b791479b70aba1306b2fe2b2bcd0ff9 100644 --- a/htdocs/langs/fr_FR/languages.lang +++ b/htdocs/langs/fr_FR/languages.lang @@ -22,6 +22,7 @@ Language_es_AR=Espagnol (Argentine) Language_es_HN=Espagnol (Honduras) Language_es_MX=Espagnol (Mexique) Language_es_PY=Espagnol (Paraguay) +Language_es_PE=Espagnol (Peru) Language_es_PR=Espagnol (Puerto Rico) Language_et_EE=Estonien Language_fa_IR=Perse diff --git a/htdocs/langs/hu_HU/companies.lang b/htdocs/langs/hu_HU/companies.lang index 8634faed477192c0cdae2157dfc5b98eb5d1cc14..133f32f706f81e3c0f812ad86966c86044112fda 100644 --- a/htdocs/langs/hu_HU/companies.lang +++ b/htdocs/langs/hu_HU/companies.lang @@ -104,7 +104,7 @@ ProfId3=Szakmai ID 3 ProfId4=Szakmai ID 4 ProfId5=Szakmai ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof ID 1 (CUIT / CUIL) +ProfId1AR=Prof ID 1 (CUIL) ProfId2AR=Prof ID 2 (revenu barmok) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/is_IS/companies.lang b/htdocs/langs/is_IS/companies.lang index 790788418160db283112c4c0e691260533beb466..242815d9afb5f429d10ed7d5a6fe9310c65985ff 100644 --- a/htdocs/langs/is_IS/companies.lang +++ b/htdocs/langs/is_IS/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professional ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / CUIL) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (Revenu brutes) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/nb_NO/companies.lang b/htdocs/langs/nb_NO/companies.lang index a69b4865fe86bd06ec1952691def1a09154936cf..9b5fd5d7ed4dd8941eda5958199a6f103037ee31 100644 --- a/htdocs/langs/nb_NO/companies.lang +++ b/htdocs/langs/nb_NO/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Profesjonell ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof ID 2 (inntekter på brutes) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/nl_NL/companies.lang b/htdocs/langs/nl_NL/companies.lang index b596a1e39a817d54635f82581f70ea8d7f5d51c5..6f69c2d1963c611b3066e1c4b2fe27bd4496a757 100644 --- a/htdocs/langs/nl_NL/companies.lang +++ b/htdocs/langs/nl_NL/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professioneel ID 3 ProfId4=Professioneel ID 4 ProfId5=Professionele ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (Cuit / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (Revenu woestelingen) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/pl_PL/companies.lang b/htdocs/langs/pl_PL/companies.lang index 29795a956e477f1ee69ffa9fdfae7139510be2ec..b1fa2967cf0c9062e2e6517f90c5a91da7b3df5f 100644 --- a/htdocs/langs/pl_PL/companies.lang +++ b/htdocs/langs/pl_PL/companies.lang @@ -104,7 +104,7 @@ ProfId3=Profesjonalne ID 3 ProfId4=Profesjonalne ID 4 ProfId5=Profesjonalny ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Id Prof 2 (bydlęta Revenu) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/pt_PT/companies.lang b/htdocs/langs/pt_PT/companies.lang index 2d0ca3f7e2f5fbb5ad80e4d2ebe11257b4918454..734091edac9603fbb14329eda241e6ecbd3a9431 100644 --- a/htdocs/langs/pt_PT/companies.lang +++ b/htdocs/langs/pt_PT/companies.lang @@ -104,7 +104,7 @@ ProfId3=ID profesional 3 ProfId4=ID profesional 4 ProfId5=Professional ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / CUIL) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Id Prof 2 (brutos Revenu) ProfId3AR=- ProfId4AR=- @@ -224,9 +224,9 @@ ProfId3RU=Prof Id 3 (KPP) ProfId4RU=Prof Id 4 (OKPO) ProfId5RU=- # ProfId6RU=- -VATIntra=IVA Intracomunitário -VATIntraShort=IVA Intracomunitário Mínimo -VATIntraVeryShort=IVA Intracomunitário Nulo +VATIntra=CNPJ +VATIntraShort=CNPJ +VATIntraVeryShort=CNPJ VATIntraSyntaxIsValid=Sintaxe Válida VATIntraValueIsValid=Valor Válido ProspectCustomer=Cliente Potencial/Cliente diff --git a/htdocs/langs/ro_RO/companies.lang b/htdocs/langs/ro_RO/companies.lang index 03cb37af0bb7b0b6b1cd5999f288e5a7c5f028df..70f40c8d95315f9229c24d4ff51e478a68571336 100644 --- a/htdocs/langs/ro_RO/companies.lang +++ b/htdocs/langs/ro_RO/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professional ID 5 ProfId6=Profesional ID 6 -ProfId1AR=Id-ul prof. 1 (CUIT / Cuil) +ProfId1AR=Id-ul prof. 1 (CUIL) ProfId2AR=Id-ul prof. 2 (Venituri brute) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/ru_RU/companies.lang b/htdocs/langs/ru_RU/companies.lang index 7a2a1121579841a7a9fbafb5b59cba94458946e3..ff02d5393b596a4b158920562adc38442ad38dd8 100644 --- a/htdocs/langs/ru_RU/companies.lang +++ b/htdocs/langs/ru_RU/companies.lang @@ -104,7 +104,7 @@ ProfId3=Профессиональный ID 3 ProfId4=Профессиональный ID 4 ProfId5=Профессиональный ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Проф Id 1 (CUIT / Cuil) +ProfId1AR=Проф Id 1 (CUIL) ProfId2AR=Проф Id 2 (Revenu скоты) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/sv_SE/companies.lang b/htdocs/langs/sv_SE/companies.lang index 59bdbe1afb894382044b65f3243ed95e372ad11d..f26d98531dc474ed5c5bc38193a0c6ecf5eb7c6b 100644 --- a/htdocs/langs/sv_SE/companies.lang +++ b/htdocs/langs/sv_SE/companies.lang @@ -104,7 +104,7 @@ ProfId3=Professionella ID 3 ProfId4=Professionella ID 4 ProfId5=Professionell ID 5 # ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (Revenu sällar) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/langs/tr_TR/companies.lang b/htdocs/langs/tr_TR/companies.lang index ab4d21a2ab0f93045ccf22a393ceff82719de9a4..f35b6ae79de34868e85dc2d9c177f4f7426bde5a 100644 --- a/htdocs/langs/tr_TR/companies.lang +++ b/htdocs/langs/tr_TR/companies.lang @@ -104,7 +104,7 @@ ProfId3=Profesyonel ID 3 ProfId4=Profesyonel ID 4 ProfId5=Profesyonel ID 5 ProfId6=Professional ID 6 -ProfId1AR=Prof Id 1 (CUIT / Cuil) +ProfId1AR=Prof Id 1 (CUIL) ProfId2AR=Prof Id 2 (revenu canavarlar) ProfId3AR=- ProfId4AR=- diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 02c7b617021c4a13beef9985684314b3d5742740..074d684b10e753cbf5e7a83c8f6d459d11fd25ec 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -460,14 +460,14 @@ if ($resql) print '</form>'; $arrayofuniqueproduct=array(); - + $var=True; while ($i < min($num,$conf->liste_limit)) { $objp = $db->fetch_object($resql); - + $arrayofuniqueproduct[$objp->rowid]=$objp->produit; - + $var=!$var; print "<tr ".$bc[$var].">"; // Id movement @@ -517,7 +517,7 @@ if ($resql) if (count($arrayofuniqueproduct) == 1) { $productidselected=0; - foreach ($arrayofuniqueproduct as $key => $val) + foreach ($arrayofuniqueproduct as $key => $val) { $productidselected=$key; $productlabelselected=$val; @@ -533,16 +533,16 @@ if ($resql) //print '<td class="liste_total" colspan="6" align="right">'; print ': '.$balancebefore; print "<br>\n"; - //print '</td></tr>'; + //print '</td></tr>'; //print '<tr class="total"><td class="liste_total">'; print $langs->trans("NbOfProductAfterPeriod", $productlabelselected, dol_print_date($dateafter,'day','gmt')); //print '</td>'; //print '<td class="liste_total" colspan="6" align="right">'; print ': '.$balanceafter; print "<br>\n"; - //print '</td></tr>'; + //print '</td></tr>'; } - + } else