Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
3186a8c23f
@ -38,6 +38,7 @@ before_script:
|
|||||||
- pyrus install pear/PHP_CodeSniffer
|
- pyrus install pear/PHP_CodeSniffer
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
- which phpcs
|
- which phpcs
|
||||||
|
- phpcs --version
|
||||||
- phpcs -i
|
- phpcs -i
|
||||||
- echo Create dir $(pwd)/htdocs/documents
|
- echo Create dir $(pwd)/htdocs/documents
|
||||||
- sudo mkdir -p $(pwd)/htdocs/documents/admin/temp;
|
- sudo mkdir -p $(pwd)/htdocs/documents/admin/temp;
|
||||||
@ -106,10 +107,10 @@ script:
|
|||||||
# - cat upgrade2.log
|
# - cat upgrade2.log
|
||||||
- cd ../..
|
- cd ../..
|
||||||
- date
|
- date
|
||||||
- php -d zend.enable_gc=0 /usr/bin/phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/AllTests.php
|
- phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/AllTests.php
|
||||||
- date
|
- date
|
||||||
# - phpcs -p --warning-severity=0 -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ htdocs/core/class/dolgraph.class.php 2>&1
|
# - phpcs -p --warning-severity=0 -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ htdocs/core/class/dolgraph.class.php 2>&1
|
||||||
- php -d zend.enable_gc=0 /usr/bin/phpcs -p --warning-severity=0 -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ . 2>&1
|
- phpcs -p --warning-severity=0 -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/htdocs/conf/conf.php,/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ . 2>&1
|
||||||
- date
|
- date
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
|||||||
21
ChangeLog
21
ChangeLog
@ -3,6 +3,18 @@ English Dolibarr ChangeLog
|
|||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
***** ChangeLog for 3.8 compared to 3.7.* *****
|
||||||
|
For users:
|
||||||
|
- New:
|
||||||
|
|
||||||
|
For translators:
|
||||||
|
- Update language files.
|
||||||
|
- New: When a translation is not available we always jump to en_US and only en_US.
|
||||||
|
|
||||||
|
For developers:
|
||||||
|
- New: Function yn can show a visual checkbox
|
||||||
|
|
||||||
|
|
||||||
***** ChangeLog for 3.7 compared to 3.6.* *****
|
***** ChangeLog for 3.7 compared to 3.6.* *****
|
||||||
For users:
|
For users:
|
||||||
- New: Match other auth system: Login can be done entering login or user
|
- New: Match other auth system: Login can be done entering login or user
|
||||||
@ -103,6 +115,7 @@ For users:
|
|||||||
- Fix: [ bug #1469 ] Triggers CONTACT_MODIFY and CONTACT_DELETE duplicates error message
|
- Fix: [ bug #1469 ] Triggers CONTACT_MODIFY and CONTACT_DELETE duplicates error message
|
||||||
- Fix: [ bug #1537 ] Difference between societe.nom and adherent.societe.
|
- Fix: [ bug #1537 ] Difference between societe.nom and adherent.societe.
|
||||||
- Fix: [ bug #1535 ] Supplier invoice Extrafields are not shown
|
- Fix: [ bug #1535 ] Supplier invoice Extrafields are not shown
|
||||||
|
- Fix: datepicker first day of week can be monday by setting into display setup
|
||||||
|
|
||||||
For users, new experimental module (need to set feature level of instance to experimental to see them):
|
For users, new experimental module (need to set feature level of instance to experimental to see them):
|
||||||
- New: Module Accounting Expert to manage accountancy
|
- New: Module Accounting Expert to manage accountancy
|
||||||
@ -322,6 +335,14 @@ removed. You must now use the 6 parameters way. See file modMyModule.class.php f
|
|||||||
|
|
||||||
***** ChangeLog for 3.5.6 compared to 3.5.5 *****
|
***** ChangeLog for 3.5.6 compared to 3.5.5 *****
|
||||||
Fix: Avoid missing class error for fetch_thirdparty method #1973
|
Fix: Avoid missing class error for fetch_thirdparty method #1973
|
||||||
|
Fix: Can't update phone_pro from web service
|
||||||
|
Fix: Some security holes.
|
||||||
|
Fix: copy extrafields when creating order from proposal.
|
||||||
|
Fix: report on action was not filtering by environment.
|
||||||
|
Fix: Avoid missing class error.
|
||||||
|
Fix: Add function dolEscapeXML.
|
||||||
|
Fix: Bad days and month reported by function.
|
||||||
|
Fix: Bad margin calculation.
|
||||||
|
|
||||||
***** ChangeLog for 3.5.5 compared to 3.5.4 *****
|
***** ChangeLog for 3.5.5 compared to 3.5.4 *****
|
||||||
Fix: Holiday module was broken. Initializaion of amount of holidays failed.
|
Fix: Holiday module was broken. Initializaion of amount of holidays failed.
|
||||||
|
|||||||
@ -108,13 +108,31 @@ http://bugs.debian.org/package
|
|||||||
severity 123 xxx
|
severity 123 xxx
|
||||||
|
|
||||||
|
|
||||||
|
##### Update but tracker system
|
||||||
|
|
||||||
|
To set status of a bug to "pending"
|
||||||
|
> bts tag 999999 +pending
|
||||||
|
|
||||||
|
or replay to email 999999@bugs.debian.org + submitter of bug
|
||||||
|
With a message starting with:
|
||||||
|
|
||||||
|
Control: tag -1 +pending
|
||||||
|
Thanks. Fixed into git.
|
||||||
|
|
||||||
|
or replay to email control@bugs.debian.org
|
||||||
|
With only message
|
||||||
|
tag 729538 +pending
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Testing a package into unstable env
|
##### Testing a package into unstable env
|
||||||
|
|
||||||
Check you have a mysql server available from another interface than localhost
|
Check you have a mysql server available from another interface than "localhost".
|
||||||
Comment line in /etc/mysql/my.cnf if required and restart mysql
|
Comment line in /etc/mysql/my.cnf if required and restart mysql
|
||||||
#bind-address = 127.0.0.1
|
#bind-address = 127.0.0.1
|
||||||
|
|
||||||
Create a chroot called "unstable-amd64-sbuild"
|
Create a chroot called "unstable-amd64-sbuild".
|
||||||
|
Chroot env is stored into /srv/chroot directory.
|
||||||
> sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
|
> sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
|
||||||
|
|
||||||
Pour lister les env chroot
|
Pour lister les env chroot
|
||||||
@ -122,6 +140,7 @@ Pour lister les env chroot
|
|||||||
|
|
||||||
Puis pour se connecter et préparer l'environnement
|
Puis pour se connecter et préparer l'environnement
|
||||||
> schroot -c name_of_chroot
|
> schroot -c name_of_chroot
|
||||||
|
> cat /etc/debian_chroot to check which debian branch we are into
|
||||||
> vi /usr/sbin/policy-rc.d and replace return code 101 (not allowed) into 0 (ok)
|
> vi /usr/sbin/policy-rc.d and replace return code 101 (not allowed) into 0 (ok)
|
||||||
> apt-get install links mysql-client
|
> apt-get install links mysql-client
|
||||||
|
|
||||||
@ -135,7 +154,10 @@ Pour tester un package
|
|||||||
> dpkg -i dolibarr*.deb ou pour avoir des traces: dpkg -D77777 -i dolibarr*.deb
|
> dpkg -i dolibarr*.deb ou pour avoir des traces: dpkg -D77777 -i dolibarr*.deb
|
||||||
> apt-get install -f
|
> apt-get install -f
|
||||||
|
|
||||||
Puis http://localhost/dolibarr/ (cela peut etre appeler depuis le hote).
|
If there is a problem launching apache, because port is already used, change it into your chroot install with
|
||||||
|
> vi /etc/apache2/ports.conf
|
||||||
|
Then restart.
|
||||||
|
Then you can call/test dolibarr with http://localhost:port/dolibarr/ (It can be also called from host).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -202,23 +224,6 @@ http://packages.qa.debian.org/t/tcpdf.html
|
|||||||
* Package will be into release when test will be moved as stable.
|
* Package will be into release when test will be moved as stable.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Update but tracker system
|
|
||||||
To set status of a bug to pending
|
|
||||||
> bts tag 999999 +pending
|
|
||||||
|
|
||||||
or replay to email 999999@bugs.debian.org + submitter of bug
|
|
||||||
With a message starting with:
|
|
||||||
Control: tag -1 +pending
|
|
||||||
and then a text like:
|
|
||||||
Thanks. Fixed into git.
|
|
||||||
|
|
||||||
or replay to email control@bugs.debian.org
|
|
||||||
With only message
|
|
||||||
tag 729538 +pending
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Create/Maintain dolibarr package
|
##### Create/Maintain dolibarr package
|
||||||
|
|
||||||
To update dolibarr debian package
|
To update dolibarr debian package
|
||||||
@ -257,7 +262,7 @@ x.y.z+dfsgw
|
|||||||
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
|
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
|
||||||
|
|
||||||
* Add an entry into debian/changelog
|
* Add an entry into debian/changelog
|
||||||
> dch -v x.y.z+dfsg-w "My comment" will add entry.
|
> dch -v x.y.z+dfsgw-v "My comment" will add entry.
|
||||||
For example: dch -v x.y.z+dfsgw-1 "New upstream release." for a new version (x.y.z = version, w start from 1 and increaed for each new import)
|
For example: dch -v x.y.z+dfsgw-1 "New upstream release." for a new version (x.y.z = version, w start from 1 and increaed for each new import)
|
||||||
Then modify changelog to replace "version" or "unstable" with "UNRELEASED".
|
Then modify changelog to replace "version" or "unstable" with "UNRELEASED".
|
||||||
Then check/modify also the user/date signature:
|
Then check/modify also the user/date signature:
|
||||||
|
|||||||
@ -3,81 +3,4 @@ dolibarr (3.7.0-3) UNRELEASED; urgency=low
|
|||||||
[ Laurent Destailleur (eldy) ]
|
[ Laurent Destailleur (eldy) ]
|
||||||
* New upstream release.
|
* New upstream release.
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 21 Oct 2014 12:00:00 +0100
|
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 21 Oct 2014 12:00:00 +0100
|
||||||
|
|
||||||
dolibarr (3.6.1-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 23 Sep 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.6.0-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 15 July 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.5.5-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 8 July 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.5.4-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 1 July 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.5.3-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Fri, 2 May 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.5.2-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Fri, 14 March 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.5.1-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Fri, 7 Feb 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.5.0-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Fri, 31 Jan 2014 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.4.2-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* Maintenance release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Mon, 30 Dec 2013 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.4.1-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* Maintenance release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Mon, 27 Apr 2013 12:00:00 +0100
|
|
||||||
|
|
||||||
dolibarr (3.4.0-3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* Maintenance release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Mon, 22 Apr 2013 12:00:00 +0100
|
|
||||||
@ -14,7 +14,7 @@ https://build.opensuse.org
|
|||||||
Packaging rules: http://en.opensuse.org/Portal:Packaging
|
Packaging rules: http://en.opensuse.org/Portal:Packaging
|
||||||
|
|
||||||
Add attributes:
|
Add attributes:
|
||||||
OBS:Screenshots URL of screenshot
|
OBS:Screenshots URL of screenshot http://www.dolibarr.org/images/dolibarr_screenshot1.png
|
||||||
OBS:QualityCategory Development|Testing|Stable|Private
|
OBS:QualityCategory Development|Testing|Stable|Private
|
||||||
OBS:Maintained 1
|
OBS:Maintained 1
|
||||||
|
|
||||||
@ -29,12 +29,18 @@ To submit a snapshot for building, we should have a service file with content
|
|||||||
</services>
|
</services>
|
||||||
|
|
||||||
How to have such a service file created automatically ?
|
How to have such a service file created automatically ?
|
||||||
Click on "Add file", then select mode "Upload From: Remote URL"
|
|
||||||
Enter the Remote URL that should looks like this: http://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-x.y.v-3.src.rpm
|
|
||||||
|
|
||||||
Then add into advanded - attributes
|
Go into project you want to update. It mught be:
|
||||||
|
- openSUSE Build Service > Projects > Application:ERP:Dolibarr > dolibarr
|
||||||
|
- or your private project
|
||||||
|
|
||||||
|
Once logged, click on "Add file" in section "Source Files", then select mode "Upload From: Remote URL"
|
||||||
|
Keep empty for "Filename", choose "Remote URL" and enter into last field, URL that should looks like this:
|
||||||
|
http://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-x.y.v-0.3.src.rpm
|
||||||
|
|
||||||
|
Then add into Advanded - Attributes
|
||||||
OBS:Screenshots http://www.dolibarr.org/images/dolibarr_screenshot1.png
|
OBS:Screenshots http://www.dolibarr.org/images/dolibarr_screenshot1.png
|
||||||
OBS:QualityCategory Testing
|
OBS:QualityCategory Stable|Testing|Development|Private
|
||||||
|
|
||||||
|
|
||||||
# Move project into official directory
|
# Move project into official directory
|
||||||
|
|||||||
@ -340,21 +340,3 @@ fi
|
|||||||
|
|
||||||
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
||||||
- Upstream release
|
- Upstream release
|
||||||
|
|
||||||
* Tue Jul 8 2014 Laurent Destailleur 3.5.5-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Tue Jul 1 2014 Laurent Destailleur 3.5.4-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri May 2 2014 Laurent Destailleur 3.5.3-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 14 2014 Laurent Destailleur 3.5.2-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 7 2014 Laurent Destailleur 3.5.1-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Mon Dec 30 2013 Laurent Destailleur 3.5.0-0.3
|
|
||||||
- Initial version (#723326)
|
|
||||||
|
|||||||
@ -577,20 +577,3 @@ fi
|
|||||||
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
||||||
- Upstream release
|
- Upstream release
|
||||||
|
|
||||||
* Tue Jul 8 2014 Laurent Destailleur 3.5.5-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Tue Jul 1 2014 Laurent Destailleur 3.5.4-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri May 2 2014 Laurent Destailleur 3.5.3-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 14 2014 Laurent Destailleur 3.5.2-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 7 2014 Laurent Destailleur 3.5.1-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Mon Dec 30 2013 Laurent Destailleur 3.5.0-0.3
|
|
||||||
- Initial version (#723326)
|
|
||||||
|
|||||||
@ -346,20 +346,3 @@ fi
|
|||||||
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
||||||
- Upstream release
|
- Upstream release
|
||||||
|
|
||||||
* Tue Jul 8 2014 Laurent Destailleur 3.5.5-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Tue Jul 1 2014 Laurent Destailleur 3.5.4-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri May 2 2014 Laurent Destailleur 3.5.3-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 14 2014 Laurent Destailleur 3.5.2-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 7 2014 Laurent Destailleur 3.5.1-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Mon Dec 30 2013 Laurent Destailleur 3.5.0-0.3
|
|
||||||
- Initial version (#723326)
|
|
||||||
|
|||||||
@ -357,20 +357,3 @@ fi
|
|||||||
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
|
||||||
- Upstream release
|
- Upstream release
|
||||||
|
|
||||||
* Tue Jul 8 2014 Laurent Destailleur 3.5.5-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Tue Jul 1 2014 Laurent Destailleur 3.5.4-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri May 2 2014 Laurent Destailleur 3.5.3-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 14 2014 Laurent Destailleur 3.5.2-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Fri Feb 7 2014 Laurent Destailleur 3.5.1-0.3
|
|
||||||
- Upstream release
|
|
||||||
|
|
||||||
* Mon Dec 30 2013 Laurent Destailleur 3.5.0-0.3
|
|
||||||
- Initial version (#723326)
|
|
||||||
|
|||||||
@ -1,9 +1,12 @@
|
|||||||
README (English)
|
README (English)
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
This directory contains ruleset files to use to
|
This directory contains ruleset files to use to develop Dolibarr EPR & CRM.
|
||||||
develop Dolibarr EPR & CRM with Eclipse.
|
|
||||||
|
|
||||||
Note: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
|
To install/upgrade phpcs:
|
||||||
|
> sudo pear upgrade PHP_CodeSniffer
|
||||||
|
|
||||||
|
Note with Eclipse: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
|
||||||
* tab value to 4
|
* tab value to 4
|
||||||
* path of code sniffer standard to dev/codesniffer
|
* path of code sniffer standard to dev/codesniffer
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
<exclude-pattern>*/conf.php</exclude-pattern>
|
<exclude-pattern>*/conf.php</exclude-pattern>
|
||||||
<exclude-pattern>*/includes/*</exclude-pattern>
|
<exclude-pattern>*/includes/*</exclude-pattern>
|
||||||
<exclude-pattern>*/documents/*</exclude-pattern>
|
<exclude-pattern>*/documents/*</exclude-pattern>
|
||||||
|
<exclude-pattern>*/dev/vagrant/*</exclude-pattern>
|
||||||
<exclude-pattern>*/custom/*</exclude-pattern>
|
<exclude-pattern>*/custom/*</exclude-pattern>
|
||||||
<exclude-pattern>*/nltechno*</exclude-pattern>
|
<exclude-pattern>*/nltechno*</exclude-pattern>
|
||||||
|
|
||||||
@ -169,6 +170,40 @@
|
|||||||
<rule ref="PEAR.Commenting.ClassComment.MissingTag">
|
<rule ref="PEAR.Commenting.ClassComment.MissingTag">
|
||||||
<severity>0</severity>
|
<severity>0</severity>
|
||||||
</rule>
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing@authorTag">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing@categoryTag">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing@licenseTag">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing@linkTag">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing@packageTag">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<!-- TODO Remove this and fix reported errors -->
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.ReturnNotRequired">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.Missing">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<rule ref="PEAR.Commenting.FileComment" />
|
<rule ref="PEAR.Commenting.FileComment" />
|
||||||
@ -226,6 +261,24 @@
|
|||||||
<rule ref="PEAR.Functions.FunctionCallSignature.Indent">
|
<rule ref="PEAR.Functions.FunctionCallSignature.Indent">
|
||||||
<severity>0</severity>
|
<severity>0</severity>
|
||||||
</rule>
|
</rule>
|
||||||
|
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<rule ref="PEAR.Functions.ValidDefaultValue" />
|
<rule ref="PEAR.Functions.ValidDefaultValue" />
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,6 @@ class AdherentStats extends Stats
|
|||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @param int $socid Id third party
|
* @param int $socid Id third party
|
||||||
* @param int $userid Id user for filter
|
* @param int $userid Id user for filter
|
||||||
* @return AdherentStats
|
|
||||||
*/
|
*/
|
||||||
function __construct($db, $socid=0, $userid=0)
|
function __construct($db, $socid=0, $userid=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -119,7 +119,7 @@ if ($action == 'edit') // Edit
|
|||||||
|
|
||||||
print_fiche_titre($langs->trans("Language"),'','').'<br>';
|
print_fiche_titre($langs->trans("Language"),'','').'<br>';
|
||||||
print '<table summary="edit" class="noborder" width="100%">';
|
print '<table summary="edit" class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans("Parameter").'</td><td>'.$langs->trans("Value").'</td>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td>';
|
||||||
print '<td width="20"> </td>';
|
print '<td width="20"> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ if ($action == 'edit') // Edit
|
|||||||
|
|
||||||
// Other
|
// Other
|
||||||
print '<table summary="edit" class="noborder" width="100%">';
|
print '<table summary="edit" class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Parameter").'</td><td>'.$langs->trans("Value").'</td>';
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td>';
|
||||||
print '<td width="20"> </td>';
|
print '<td width="20"> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
@ -301,7 +301,7 @@ else // Show
|
|||||||
// Language
|
// Language
|
||||||
print_fiche_titre($langs->trans("Language"),'','').'<br>';
|
print_fiche_titre($langs->trans("Language"),'','').'<br>';
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans("Parameter").'</td><td>'.$langs->trans("Value").'</td><td> </td></tr>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td><td> </td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultLanguage").'</td><td>';
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultLanguage").'</td><td>';
|
||||||
@ -345,7 +345,7 @@ else // Show
|
|||||||
// Other
|
// Other
|
||||||
$var=true;
|
$var=true;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Parameter").'</td><td colspan="2">'.$langs->trans("Value").'</td></tr>';
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Parameters").'</td><td colspan="2">'.$langs->trans("Value").'</td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td>'.$langs->trans("EnableShowLogo").'</td><td>' . yn($conf->global->MAIN_SHOW_LOGO) . '</td>';
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("EnableShowLogo").'</td><td>' . yn($conf->global->MAIN_SHOW_LOGO) . '</td>';
|
||||||
|
|||||||
@ -113,35 +113,20 @@ $linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToM
|
|||||||
print_fiche_titre($langs->trans("StockSetup"),$linkback,'setup');
|
print_fiche_titre($langs->trans("StockSetup"),$linkback,'setup');
|
||||||
|
|
||||||
$form=new Form($db);
|
$form=new Form($db);
|
||||||
$var=true;
|
|
||||||
print '<table class="noborder" width="100%">';
|
|
||||||
|
|
||||||
print '<tr class="liste_titre">';
|
|
||||||
print " <td>".$langs->trans("Parameters")."</td>\n";
|
|
||||||
print " <td align=\"right\" width=\"160\"> </td>\n";
|
|
||||||
print '</tr>'."\n";
|
|
||||||
|
|
||||||
/*
|
$disabled='';
|
||||||
* Formulaire parametres divers
|
if (! empty($conf->productbatch->enabled))
|
||||||
*/
|
{
|
||||||
|
$langs->load("productbatch");
|
||||||
|
$disabled=' disabled="disabled"';
|
||||||
|
print info_admin($langs->trans("WhenProductBatchModuleOnOptionAreForced"));
|
||||||
|
}
|
||||||
|
|
||||||
$var=!$var;
|
//if (! empty($conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER) || ! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT))
|
||||||
|
//{
|
||||||
print "<tr ".$bc[$var].">";
|
print info_admin($langs->trans("IfYouUsePointOfSaleCheckModule"));
|
||||||
print '<td width="60%">'.$langs->trans("UserWarehouseAutoCreate").'</td>';
|
//}
|
||||||
|
|
||||||
print '<td width="160" align="right">';
|
|
||||||
print "<form method=\"post\" action=\"stock.php\">";
|
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_USERSTOCK_AUTOCREATE\">";
|
|
||||||
print $form->selectyesno("STOCK_USERSTOCK_AUTOCREATE",$conf->global->STOCK_USERSTOCK_AUTOCREATE,1);
|
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
|
||||||
print '</form>';
|
|
||||||
print "</td>\n";
|
|
||||||
print "</tr>\n";
|
|
||||||
print '<br>';
|
|
||||||
print '</table>';
|
|
||||||
print '<br>';
|
|
||||||
|
|
||||||
// Title rule for stock decrease
|
// Title rule for stock decrease
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
@ -160,8 +145,8 @@ if (! empty($conf->facture->enabled))
|
|||||||
print "<form method=\"post\" action=\"stock.php\">";
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_BILL\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_BILL\">";
|
||||||
print $form->selectyesno("STOCK_CALCULATE_ON_BILL",$conf->global->STOCK_CALCULATE_ON_BILL,1);
|
print $form->selectyesno("STOCK_CALCULATE_ON_BILL",$conf->global->STOCK_CALCULATE_ON_BILL,1,$disabled);
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"'.$disabled.'>';
|
||||||
print "</form>\n</td>\n</tr>\n";
|
print "</form>\n</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -174,8 +159,8 @@ if (! empty($conf->commande->enabled))
|
|||||||
print "<form method=\"post\" action=\"stock.php\">";
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_VALIDATE_ORDER\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_VALIDATE_ORDER\">";
|
||||||
print $form->selectyesno("STOCK_CALCULATE_ON_VALIDATE_ORDER",$conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER,1);
|
print $form->selectyesno("STOCK_CALCULATE_ON_VALIDATE_ORDER",$conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER,1,$disabled);
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"'.$disabled.'>';
|
||||||
print "</form>\n</td>\n</tr>\n";
|
print "</form>\n</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -188,16 +173,12 @@ if (! empty($conf->expedition->enabled))
|
|||||||
print "<form method=\"post\" action=\"stock.php\">";
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SHIPMENT\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SHIPMENT\">";
|
||||||
print $form->selectyesno("STOCK_CALCULATE_ON_SHIPMENT",$conf->global->STOCK_CALCULATE_ON_SHIPMENT,1);
|
print $form->selectyesno("STOCK_CALCULATE_ON_SHIPMENT",$conf->global->STOCK_CALCULATE_ON_SHIPMENT,1,$disabled);
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"'.$disabled.'>';
|
||||||
print "</form>\n</td>\n</tr>\n";
|
print "</form>\n</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
//if (! empty($conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER) || ! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT))
|
|
||||||
//{
|
|
||||||
print info_admin($langs->trans("IfYouUsePointOfSaleCheckModule"));
|
|
||||||
//}
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
// Title rule for stock increase
|
// Title rule for stock increase
|
||||||
@ -217,8 +198,8 @@ if (! empty($conf->fournisseur->enabled))
|
|||||||
print "<form method=\"post\" action=\"stock.php\">";
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SUPPLIER_BILL\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SUPPLIER_BILL\">";
|
||||||
print $form->selectyesno("STOCK_CALCULATE_ON_SUPPLIER_BILL",$conf->global->STOCK_CALCULATE_ON_SUPPLIER_BILL,1);
|
print $form->selectyesno("STOCK_CALCULATE_ON_SUPPLIER_BILL",$conf->global->STOCK_CALCULATE_ON_SUPPLIER_BILL,1,$disabled);
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"'.$disabled.'>';
|
||||||
print "</form>\n</td>\n</tr>\n";
|
print "</form>\n</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -231,8 +212,8 @@ if (! empty($conf->fournisseur->enabled))
|
|||||||
print "<form method=\"post\" action=\"stock.php\">";
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER\">";
|
||||||
print $form->selectyesno("STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER",$conf->global->STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER,1);
|
print $form->selectyesno("STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER",$conf->global->STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER,1,$disabled);
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"'.$disabled.'>';
|
||||||
print "</form>\n</td>\n</tr>\n";
|
print "</form>\n</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
if (! empty($conf->fournisseur->enabled))
|
if (! empty($conf->fournisseur->enabled))
|
||||||
@ -244,8 +225,8 @@ if (! empty($conf->fournisseur->enabled))
|
|||||||
print "<form method=\"post\" action=\"stock.php\">";
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER\">";
|
||||||
print $form->selectyesno("STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER",$conf->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER,1);
|
print $form->selectyesno("STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER",$conf->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER,1,$disabled);
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'"'.$disabled.'>';
|
||||||
print "</form>\n</td>\n</tr>\n";
|
print "</form>\n</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -334,6 +315,34 @@ if ($virtualdiffersfromphysical)
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$var=true;
|
||||||
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
|
print '<tr class="liste_titre">';
|
||||||
|
print " <td>".$langs->trans("Other")."</td>\n";
|
||||||
|
print " <td align=\"right\" width=\"160\"> </td>\n";
|
||||||
|
print '</tr>'."\n";
|
||||||
|
|
||||||
|
$var=!$var;
|
||||||
|
|
||||||
|
print "<tr ".$bc[$var].">";
|
||||||
|
print '<td width="60%">'.$langs->trans("UserWarehouseAutoCreate").'</td>';
|
||||||
|
|
||||||
|
print '<td width="160" align="right">';
|
||||||
|
print "<form method=\"post\" action=\"stock.php\">";
|
||||||
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
|
print "<input type=\"hidden\" name=\"action\" value=\"STOCK_USERSTOCK_AUTOCREATE\">";
|
||||||
|
print $form->selectyesno("STOCK_USERSTOCK_AUTOCREATE",$conf->global->STOCK_USERSTOCK_AUTOCREATE,1);
|
||||||
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|
||||||
|
print '</form>';
|
||||||
|
print "</td>\n";
|
||||||
|
print "</tr>\n";
|
||||||
|
print '<br>';
|
||||||
|
print '</table>';
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Instanciation et initialisation de l'objet xmlhttprequest
|
// Instanciation et initialisation de l'objet xmlhttprequest
|
||||||
function file (fichier) {
|
function file(fichier) {
|
||||||
|
|
||||||
// Instanciation de l'objet pour Mozilla, Konqueror, Opera, Safari, etc ...
|
// Instanciation de l'objet pour Mozilla, Konqueror, Opera, Safari, etc ...
|
||||||
if (window.XMLHttpRequest) {
|
if (window.XMLHttpRequest) {
|
||||||
@ -51,7 +51,7 @@ function file (fichier) {
|
|||||||
|
|
||||||
|
|
||||||
// Affichage des donnees aTexte dans le bloc identifie par aId
|
// Affichage des donnees aTexte dans le bloc identifie par aId
|
||||||
function afficheDonnees (aId, aTexte) {
|
function afficheDonnees(aId, aTexte) {
|
||||||
|
|
||||||
document.getElementById(aId).innerHTML = aTexte;
|
document.getElementById(aId).innerHTML = aTexte;
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ function afficheDonnees (aId, aTexte) {
|
|||||||
|
|
||||||
|
|
||||||
// aCible : id du bloc de destination; aCode : argument a passer a la page php chargee du traitement et de l'affichage
|
// aCible : id du bloc de destination; aCode : argument a passer a la page php chargee du traitement et de l'affichage
|
||||||
function verifResultat (aCible, aCode) {
|
function verifResultat(aCible, aCode) {
|
||||||
if (aCode != '') {
|
if (aCode != '') {
|
||||||
|
|
||||||
if (texte = file ('facturation_dhtml.php?code='+escape(aCode))) {
|
if (texte = file ('facturation_dhtml.php?code='+escape(aCode))) {
|
||||||
@ -76,21 +76,9 @@ function verifResultat (aCible, aCode) {
|
|||||||
|
|
||||||
|
|
||||||
// Change dynamiquement la classe de l'element ayant l'id aIdElement pour aClasse
|
// Change dynamiquement la classe de l'element ayant l'id aIdElement pour aClasse
|
||||||
function setStyle (aIdElement, aClasse) {
|
function setStyle(aIdElement, aClasse) {
|
||||||
|
|
||||||
aIdElement.className = aClasse;
|
aIdElement.className = aClasse;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Calcul et affichage en temps reel des informations sur le produit en cours
|
// Calcul et affichage en temps reel des informations sur le produit en cours
|
||||||
function modif () {
|
function modif() {
|
||||||
|
|
||||||
var prix_unit = parseFloat ( document.getElementById('frmQte').txtPrixUnit.value );
|
var prix_unit = parseFloat ( document.getElementById('frmQte').txtPrixUnit.value );
|
||||||
var qte = parseFloat ( document.getElementById('frmQte').txtQte.value );
|
var qte = parseFloat ( document.getElementById('frmQte').txtQte.value );
|
||||||
@ -71,7 +71,7 @@ function modif () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Affecte la source de la requete (liste deroulante ou champ texte 'ref') au champ cache
|
// Affecte la source de la requete (liste deroulante ou champ texte 'ref') au champ cache
|
||||||
function setSource (aSrc) {
|
function setSource(aSrc) {
|
||||||
|
|
||||||
document.getElementById('frmFacturation').hdnSource.value = aSrc;
|
document.getElementById('frmFacturation').hdnSource.value = aSrc;
|
||||||
document.getElementById('frmFacturation').submit();
|
document.getElementById('frmFacturation').submit();
|
||||||
@ -79,7 +79,7 @@ function setSource (aSrc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verification de la coherence des informations saisies dans le formulaire de choix du nombre d'articles
|
// Verification de la coherence des informations saisies dans le formulaire de choix du nombre d'articles
|
||||||
function verifSaisie () {
|
function verifSaisie() {
|
||||||
|
|
||||||
if ( document.getElementById('frmQte').txtQte.value ) {
|
if ( document.getElementById('frmQte').txtQte.value ) {
|
||||||
|
|
||||||
@ -95,17 +95,17 @@ function verifSaisie () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verification de la coherence des informations saisies dans le formulaire de calcul de la difference
|
// Verification de la coherence des informations saisies dans le formulaire de calcul de la difference
|
||||||
function verifDifference () {
|
function verifDifference() {
|
||||||
|
|
||||||
var du = parseFloat ( document.getElementById('frmDifference').txtDu.value );
|
var du = parseFloat ( document.getElementById('frmDifference').txtDu.value );
|
||||||
var encaisse = parseFloat ( document.getElementById('frmDifference').txtEncaisse.value );
|
var encaisse = parseFloat ( document.getElementById('frmDifference').txtEncaisse.value );
|
||||||
|
|
||||||
if ( encaisse > du ) {
|
if (encaisse > du) {
|
||||||
|
|
||||||
resultat = Math.round ( (encaisse - du) * 100 ) / 100;
|
resultat = Math.round ( (encaisse - du) * 100 ) / 100;
|
||||||
document.getElementById('frmDifference').txtRendu.value = resultat.toFixed(2);
|
document.getElementById('frmDifference').txtRendu.value = resultat.toFixed(2);
|
||||||
|
|
||||||
} else if ( encaisse == du ) {
|
} else if (encaisse == du) {
|
||||||
|
|
||||||
document.getElementById('frmDifference').txtRendu.value = '0';
|
document.getElementById('frmDifference').txtRendu.value = '0';
|
||||||
|
|
||||||
@ -118,14 +118,14 @@ function verifDifference () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Affecte le moyen de paiement (ESP, CB ou CHQ) au champ cache en fonction du bouton clique
|
// Affecte le moyen de paiement (ESP, CB ou CHQ) au champ cache en fonction du bouton clique
|
||||||
function verifClic (aChoix) {
|
function verifClic(aChoix) {
|
||||||
|
|
||||||
document.getElementById('frmDifference').hdnChoix.value = aChoix;
|
document.getElementById('frmDifference').hdnChoix.value = aChoix;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determination du moyen de paiement, et validation du formulaire si les donnees sont coherentes
|
// Determination du moyen de paiement, et validation du formulaire si les donnees sont coherentes
|
||||||
function verifReglement () {
|
function verifReglement() {
|
||||||
|
|
||||||
var choix = document.getElementById('frmDifference').hdnChoix.value;
|
var choix = document.getElementById('frmDifference').hdnChoix.value;
|
||||||
var du = parseFloat (document.getElementById('frmDifference').txtDu.value);
|
var du = parseFloat (document.getElementById('frmDifference').txtDu.value);
|
||||||
@ -172,5 +172,4 @@ function verifReglement () {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1045,7 +1045,7 @@ if ($id > 0)
|
|||||||
print '<tr><td>'.$langs->trans("Title").'</td><td colspan="3">'.$object->label.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Title").'</td><td colspan="3">'.$object->label.'</td></tr>';
|
||||||
|
|
||||||
// Full day event
|
// Full day event
|
||||||
print '<tr><td>'.$langs->trans("EventOnFullDay").'</td><td colspan="3">'.yn($object->fulldayevent).'</td></tr>';
|
print '<tr><td>'.$langs->trans("EventOnFullDay").'</td><td colspan="3">'.yn($object->fulldayevent, 3).'</td></tr>';
|
||||||
|
|
||||||
$rowspan=4;
|
$rowspan=4;
|
||||||
if (empty($conf->global->AGENDA_DISABLE_LOCATION)) $rowspan++;
|
if (empty($conf->global->AGENDA_DISABLE_LOCATION)) $rowspan++;
|
||||||
|
|||||||
@ -530,6 +530,7 @@ if ($id > 0)
|
|||||||
while ($i < $num && $i < $MAXLIST)
|
while ($i < $num && $i < $MAXLIST)
|
||||||
{
|
{
|
||||||
$objp = $db->fetch_object($resql);
|
$objp = $db->fetch_object($resql);
|
||||||
|
$var=!$var;
|
||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
print '<td class="nowrap"><a href="propal.php?id='.$objp->propalid.'">'.img_object($langs->trans("ShowPropal"),"propal").' '.$objp->ref.'</a>'."\n";
|
print '<td class="nowrap"><a href="propal.php?id='.$objp->propalid.'">'.img_object($langs->trans("ShowPropal"),"propal").' '.$objp->ref.'</a>'."\n";
|
||||||
if ( ($db->jdate($objp->dp) < ($now - $conf->propal->cloture->warning_delay)) && $objp->fk_statut == 1 )
|
if ( ($db->jdate($objp->dp) < ($now - $conf->propal->cloture->warning_delay)) && $objp->fk_statut == 1 )
|
||||||
@ -539,7 +540,6 @@ if ($id > 0)
|
|||||||
print '</td><td align="right" width="80">'.dol_print_date($db->jdate($objp->dp),'day')."</td>\n";
|
print '</td><td align="right" width="80">'.dol_print_date($db->jdate($objp->dp),'day')."</td>\n";
|
||||||
print '<td align="right" style="min-width: 60px">'.price($objp->total_ht).'</td>';
|
print '<td align="right" style="min-width: 60px">'.price($objp->total_ht).'</td>';
|
||||||
print '<td align="right" style="min-width: 60px" class="nowrap">'.$propal_static->LibStatut($objp->fk_statut,5).'</td></tr>';
|
print '<td align="right" style="min-width: 60px" class="nowrap">'.$propal_static->LibStatut($objp->fk_statut,5).'</td></tr>';
|
||||||
$var=!$var;
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$db->free($resql);
|
$db->free($resql);
|
||||||
|
|||||||
@ -40,10 +40,8 @@ class box_task extends ModeleBoxes
|
|||||||
var $info_box_contents = array();
|
var $info_box_contents = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Constructeur de la classe
|
* Constructor
|
||||||
*
|
*/
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
function box_task()
|
function box_task()
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
@ -126,7 +124,7 @@ class box_task extends ModeleBoxes
|
|||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5));
|
$this->info_box_contents[$i][3] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5));
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
|
$this->info_box_contents[$i][4] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
|
||||||
$this->info_box_contents[$i][5] = array('td' => '', 'text' => "");
|
$this->info_box_contents[$i][5] = array('td' => '', 'text' => "");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -54,7 +54,6 @@ class CSMSFile
|
|||||||
* @param int $deferred Deferred or not
|
* @param int $deferred Deferred or not
|
||||||
* @param int $priority Priority
|
* @param int $priority Priority
|
||||||
* @param int $class Class
|
* @param int $class Class
|
||||||
* @return int
|
|
||||||
*/
|
*/
|
||||||
function __construct($to,$from,$msg,$deliveryreceipt=0,$deferred=0,$priority=3,$class=1)
|
function __construct($to,$from,$msg,$deliveryreceipt=0,$deferred=0,$priority=3,$class=1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -40,7 +40,6 @@ class AntiVir
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @return AntiVir
|
|
||||||
*/
|
*/
|
||||||
function __construct($db)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -72,8 +72,6 @@ class Conf
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
|
||||||
* @return Conf
|
|
||||||
*/
|
*/
|
||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
@ -367,6 +365,26 @@ class Conf
|
|||||||
unset($this->global->PROJECT_USE_SEARCH_TO_SELECT);
|
unset($this->global->PROJECT_USE_SEARCH_TO_SELECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! empty($conf->productbatch->enabled))
|
||||||
|
{
|
||||||
|
$this->global->STOCK_CALCULATE_ON_BILL=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_VALIDATE_ORDER=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SHIPMENT=1;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SUPPLIER_BILL=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER=1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! empty($conf->productbatch->enabled))
|
||||||
|
{
|
||||||
|
$this->global->STOCK_CALCULATE_ON_BILL=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_VALIDATE_ORDER=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SHIPMENT=1;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SUPPLIER_BILL=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER=0;
|
||||||
|
$this->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER=1;
|
||||||
|
}
|
||||||
|
|
||||||
// conf->currency
|
// conf->currency
|
||||||
if (empty($this->global->MAIN_MONNAIE)) $this->global->MAIN_MONNAIE='EUR';
|
if (empty($this->global->MAIN_MONNAIE)) $this->global->MAIN_MONNAIE='EUR';
|
||||||
$this->currency=$this->global->MAIN_MONNAIE;
|
$this->currency=$this->global->MAIN_MONNAIE;
|
||||||
@ -376,7 +394,7 @@ class Conf
|
|||||||
|
|
||||||
// By default, suppliers ojbects can be linked to all projects
|
// By default, suppliers ojbects can be linked to all projects
|
||||||
$conf->global->PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS = 1;
|
$conf->global->PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS = 1;
|
||||||
|
|
||||||
// conf->liste_limit = constante de taille maximale des listes
|
// conf->liste_limit = constante de taille maximale des listes
|
||||||
if (empty($this->global->MAIN_SIZE_LISTE_LIMIT)) $this->global->MAIN_SIZE_LISTE_LIMIT=25;
|
if (empty($this->global->MAIN_SIZE_LISTE_LIMIT)) $this->global->MAIN_SIZE_LISTE_LIMIT=25;
|
||||||
$this->liste_limit=$this->global->MAIN_SIZE_LISTE_LIMIT;
|
$this->liste_limit=$this->global->MAIN_SIZE_LISTE_LIMIT;
|
||||||
|
|||||||
@ -40,7 +40,6 @@ class DolGeoIP
|
|||||||
*
|
*
|
||||||
* @param string $type 'country' or 'city'
|
* @param string $type 'country' or 'city'
|
||||||
* @param string $datfile Data file
|
* @param string $datfile Data file
|
||||||
* @return GeoIP
|
|
||||||
*/
|
*/
|
||||||
function __construct($type,$datfile)
|
function __construct($type,$datfile)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -45,7 +45,6 @@ class dolprintIPP
|
|||||||
* @param string $userid userid
|
* @param string $userid userid
|
||||||
* @param string $user user
|
* @param string $user user
|
||||||
* @param string $password password
|
* @param string $password password
|
||||||
* @return printIPP
|
|
||||||
*/
|
*/
|
||||||
function __construct($db,$host,$port,$userid,$user,$password)
|
function __construct($db,$host,$port,$userid,$user,$password)
|
||||||
{
|
{
|
||||||
@ -90,7 +89,7 @@ class dolprintIPP
|
|||||||
global $conf,$db;
|
global $conf,$db;
|
||||||
|
|
||||||
include_once DOL_DOCUMENT_ROOT.'/includes/printipp/CupsPrintIPP.php';
|
include_once DOL_DOCUMENT_ROOT.'/includes/printipp/CupsPrintIPP.php';
|
||||||
|
|
||||||
$ipp = new CupsPrintIPP();
|
$ipp = new CupsPrintIPP();
|
||||||
$ipp->setLog(DOL_DATA_ROOT.'/dolibarr_printipp.log','file',3); // logging very verbose
|
$ipp->setLog(DOL_DATA_ROOT.'/dolibarr_printipp.log','file',3); // logging very verbose
|
||||||
$ipp->setHost($this->host);
|
$ipp->setHost($this->host);
|
||||||
@ -121,12 +120,12 @@ class dolprintIPP
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set number of copy
|
// Set number of copy
|
||||||
$ipp->setCopies($obj->copy);
|
$ipp->setCopies($obj->copy);
|
||||||
$ipp->setData(DOL_DATA_ROOT.'/'.$module.'/'.$file);
|
$ipp->setData(DOL_DATA_ROOT.'/'.$module.'/'.$file);
|
||||||
$ipp->printJob();
|
$ipp->printJob();
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,6 @@ class GoogleAPI
|
|||||||
*
|
*
|
||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @param string $key Google key
|
* @param string $key Google key
|
||||||
* @return GoogleAPI
|
|
||||||
*/
|
*/
|
||||||
function __construct($db,$key)
|
function __construct($db,$key)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -133,9 +133,10 @@ class FormFile
|
|||||||
if ($perm)
|
if ($perm)
|
||||||
{
|
{
|
||||||
$langs->load('other');
|
$langs->load('other');
|
||||||
$out .= ' ('.$langs->trans("MaxSize").': '.$max.' '.$langs->trans("Kb");
|
//$out .= ' ('.$langs->trans("MaxSize").': '.$max.' '.$langs->trans("Kb");
|
||||||
$out .= ' '.info_admin($langs->trans("ThisLimitIsDefinedInSetup",$max,$maxphp),1);
|
$out .= ' ';
|
||||||
$out .= ')';
|
$out.=info_admin($langs->trans("ThisLimitIsDefinedInSetup",$max,$maxphp),1);
|
||||||
|
//$out .= ')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -779,7 +780,7 @@ class FormFile
|
|||||||
|
|
||||||
if ($nboffiles > 0) include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
|
if ($nboffiles > 0) include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
|
||||||
|
|
||||||
$var=false;
|
$var=true;
|
||||||
foreach($filearray as $key => $file) // filearray must be only files here
|
foreach($filearray as $key => $file) // filearray must be only files here
|
||||||
{
|
{
|
||||||
if ($file['name'] != '.'
|
if ($file['name'] != '.'
|
||||||
|
|||||||
@ -637,6 +637,11 @@ class MobileDetect
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getMobileHeaders
|
||||||
|
*
|
||||||
|
* @return string mobile Headers
|
||||||
|
*/
|
||||||
public function getMobileHeaders()
|
public function getMobileHeaders()
|
||||||
{
|
{
|
||||||
return self::$mobileHeaders;
|
return self::$mobileHeaders;
|
||||||
|
|||||||
@ -247,6 +247,12 @@ class SimpleOpenID
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* array2url
|
||||||
|
*
|
||||||
|
* @param array $arr An array
|
||||||
|
* @return boolean|string false if KO, string of url if OK
|
||||||
|
*/
|
||||||
function array2url($arr)
|
function array2url($arr)
|
||||||
{ // converts associated array to URL Query String
|
{ // converts associated array to URL Query String
|
||||||
if (!is_array($arr)){
|
if (!is_array($arr)){
|
||||||
@ -259,6 +265,14 @@ class SimpleOpenID
|
|||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* FSOCK_Request
|
||||||
|
*
|
||||||
|
* @param string $url URL
|
||||||
|
* @param string $method Method
|
||||||
|
* @param string $params Params
|
||||||
|
* @return boolean|unknown
|
||||||
|
*/
|
||||||
function FSOCK_Request($url, $method="GET", $params = "")
|
function FSOCK_Request($url, $method="GET", $params = "")
|
||||||
{
|
{
|
||||||
$fp = fsockopen("ssl://www.myopenid.com", 443, $errno, $errstr, 3); // Connection timeout is 3 seconds
|
$fp = fsockopen("ssl://www.myopenid.com", 443, $errno, $errstr, 3); // Connection timeout is 3 seconds
|
||||||
@ -283,6 +297,14 @@ class SimpleOpenID
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CURL_Request
|
||||||
|
*
|
||||||
|
* @param string $url URL
|
||||||
|
* @param string $method Method
|
||||||
|
* @param string $params Params
|
||||||
|
* @return boolean|unknown
|
||||||
|
*/
|
||||||
function CURL_Request($url, $method="GET", $params = "")
|
function CURL_Request($url, $method="GET", $params = "")
|
||||||
{ // Remember, SSL MUST BE SUPPORTED
|
{ // Remember, SSL MUST BE SUPPORTED
|
||||||
if (is_array($params)) $params = $this->array2url($params);
|
if (is_array($params)) $params = $this->array2url($params);
|
||||||
@ -305,6 +327,12 @@ class SimpleOpenID
|
|||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HTML2OpenIDServer
|
||||||
|
*
|
||||||
|
* @param string $content Content
|
||||||
|
* @return array Array of servers
|
||||||
|
*/
|
||||||
function HTML2OpenIDServer($content)
|
function HTML2OpenIDServer($content)
|
||||||
{
|
{
|
||||||
$get = array();
|
$get = array();
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
/* Copyright (C) phpBSM
|
/* Copyright (C) phpBSM
|
||||||
* Copyright (C) 2005-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2005-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
|
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* This file is a modified version of datepicker.php from phpBSM to fix some
|
* This file is a modified version of datepicker.php from phpBSM to fix some
|
||||||
* bugs, to add new features and to dramatically increase speed.
|
* bugs, to add new features and to dramatically increase speed.
|
||||||
@ -39,6 +40,7 @@ require_once '../main.inc.php';
|
|||||||
|
|
||||||
if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL by the main.inc.php
|
if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL by the main.inc.php
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
|
$langs->load("agenda");
|
||||||
$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
|
$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
|
||||||
$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
|
$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
|
||||||
|
|
||||||
@ -57,7 +59,7 @@ if (GETPOST('mode') && GETPOST('mode') == 'test')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<title>Calendar</title>';
|
print '<title>'.$langs->trans("Calendar").'</title>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Define tradMonths javascript array (we define this in datapicker AND in parent page to avoid errors with IE8)
|
// Define tradMonths javascript array (we define this in datapicker AND in parent page to avoid errors with IE8)
|
||||||
@ -183,6 +185,19 @@ function displayBox($selectedDate,$month,$year)
|
|||||||
onClick="loadMonth('<?php echo DOL_URL_ROOT.'/core/' ?>','<?php echo $month?>','<?php echo $year+1?>','<?php echo $xyz ?>','<?php echo $langs->defaultlang ?>')">>></td>
|
onClick="loadMonth('<?php echo DOL_URL_ROOT.'/core/' ?>','<?php echo $month?>','<?php echo $year+1?>','<?php echo $xyz ?>','<?php echo $langs->defaultlang ?>')">>></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="dpDayNames">
|
<tr class="dpDayNames">
|
||||||
|
<?php
|
||||||
|
$startday=isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:1;
|
||||||
|
if($startday==1)
|
||||||
|
{?>
|
||||||
|
<td width="14%"><?php echo $langs->trans("ShortMonday") ?></td>
|
||||||
|
<td width="15%"><?php echo $langs->trans("ShortTuesday") ?></td>
|
||||||
|
<td width="14%"><?php echo $langs->trans("ShortWednesday") ?></td>
|
||||||
|
<td width="15%"><?php echo $langs->trans("ShortThursday") ?></td>
|
||||||
|
<td width="14%"><?php echo $langs->trans("ShortFriday") ?></td>
|
||||||
|
<td width="14%"><?php echo $langs->trans("ShortSaturday") ?></td>
|
||||||
|
<td width="14%"><?php echo $langs->trans("ShortSunday") ?></td>
|
||||||
|
<?php
|
||||||
|
}else {?>
|
||||||
<td width="14%"><?php echo $langs->trans("ShortSunday") ?></td>
|
<td width="14%"><?php echo $langs->trans("ShortSunday") ?></td>
|
||||||
<td width="14%"><?php echo $langs->trans("ShortMonday") ?></td>
|
<td width="14%"><?php echo $langs->trans("ShortMonday") ?></td>
|
||||||
<td width="15%"><?php echo $langs->trans("ShortTuesday") ?></td>
|
<td width="15%"><?php echo $langs->trans("ShortTuesday") ?></td>
|
||||||
@ -190,6 +205,8 @@ function displayBox($selectedDate,$month,$year)
|
|||||||
<td width="15%"><?php echo $langs->trans("ShortThursday") ?></td>
|
<td width="15%"><?php echo $langs->trans("ShortThursday") ?></td>
|
||||||
<td width="14%"><?php echo $langs->trans("ShortFriday") ?></td>
|
<td width="14%"><?php echo $langs->trans("ShortFriday") ?></td>
|
||||||
<td width="14%"><?php echo $langs->trans("ShortSaturday") ?></td>
|
<td width="14%"><?php echo $langs->trans("ShortSaturday") ?></td>
|
||||||
|
<?php
|
||||||
|
}?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
//print "x ".$thedate." y";
|
//print "x ".$thedate." y";
|
||||||
|
|||||||
@ -53,7 +53,6 @@ class DoliDBMssql extends DoliDB
|
|||||||
* @param string $pass Mot de passe
|
* @param string $pass Mot de passe
|
||||||
* @param string $name Nom de la database
|
* @param string $name Nom de la database
|
||||||
* @param int $port Port of database server
|
* @param int $port Port of database server
|
||||||
* @return int 1 if OK, 0 if not
|
|
||||||
*/
|
*/
|
||||||
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -50,7 +50,6 @@ class DoliDBMysql extends DoliDB
|
|||||||
* @param string $pass Mot de passe
|
* @param string $pass Mot de passe
|
||||||
* @param string $name Nom de la database
|
* @param string $name Nom de la database
|
||||||
* @param int $port Port of database server
|
* @param int $port Port of database server
|
||||||
* @return int 1 if OK, 0 if not
|
|
||||||
*/
|
*/
|
||||||
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -50,7 +50,6 @@ class DoliDBMysqli extends DoliDB
|
|||||||
* @param string $pass Mot de passe
|
* @param string $pass Mot de passe
|
||||||
* @param string $name Nom de la database
|
* @param string $name Nom de la database
|
||||||
* @param int $port Port of database server
|
* @param int $port Port of database server
|
||||||
* @return int 1 if OK, 0 if not
|
|
||||||
*/
|
*/
|
||||||
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
||||||
{
|
{
|
||||||
@ -357,7 +356,6 @@ class DoliDBMysqli extends DoliDB
|
|||||||
* @return int Nombre de lignes
|
* @return int Nombre de lignes
|
||||||
* @see num_rows
|
* @see num_rows
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function affected_rows($resultset)
|
function affected_rows($resultset)
|
||||||
{
|
{
|
||||||
// If resultset not provided, we take the last used by connexion
|
// If resultset not provided, we take the last used by connexion
|
||||||
|
|||||||
@ -60,7 +60,6 @@ class DoliDBPgsql extends DoliDB
|
|||||||
* @param string $pass Mot de passe
|
* @param string $pass Mot de passe
|
||||||
* @param string $name Nom de la database
|
* @param string $name Nom de la database
|
||||||
* @param int $port Port of database server
|
* @param int $port Port of database server
|
||||||
* @return int 1 if OK, 0 if not
|
|
||||||
*/
|
*/
|
||||||
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -50,7 +50,6 @@ class DoliDBSqlite extends DoliDB
|
|||||||
* @param string $pass Mot de passe
|
* @param string $pass Mot de passe
|
||||||
* @param string $name Nom de la database
|
* @param string $name Nom de la database
|
||||||
* @param int $port Port of database server
|
* @param int $port Port of database server
|
||||||
* @return int 1 if OK, 0 if not
|
|
||||||
*/
|
*/
|
||||||
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
function __construct($type, $host, $user, $pass, $name='', $port=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -47,6 +47,14 @@ function SetXmlHeaders()
|
|||||||
header('Content-Type: text/xml; charset=utf-8');
|
header('Content-Type: text/xml; charset=utf-8');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CreateXmlHeader
|
||||||
|
*
|
||||||
|
* @param string $command Command
|
||||||
|
* @param string $resourceType Resource type
|
||||||
|
* @param string $currentFolder Current folder
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function CreateXmlHeader( $command, $resourceType, $currentFolder )
|
function CreateXmlHeader( $command, $resourceType, $currentFolder )
|
||||||
{
|
{
|
||||||
SetXmlHeaders();
|
SetXmlHeaders();
|
||||||
@ -63,6 +71,11 @@ function CreateXmlHeader( $command, $resourceType, $currentFolder )
|
|||||||
$GLOBALS['HeaderSent'] = true ;
|
$GLOBALS['HeaderSent'] = true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CreateXmlFooter
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function CreateXmlFooter()
|
function CreateXmlFooter()
|
||||||
{
|
{
|
||||||
echo '</Connector>' ;
|
echo '</Connector>' ;
|
||||||
|
|||||||
@ -53,6 +53,13 @@ function GetFolders( $resourceType, $currentFolder )
|
|||||||
echo "</Folders>" ;
|
echo "</Folders>" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GetFoldersAndFiles
|
||||||
|
*
|
||||||
|
* @param string $resourceType Resource type
|
||||||
|
* @param string $currentFolder Current folder
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function GetFoldersAndFiles( $resourceType, $currentFolder )
|
function GetFoldersAndFiles( $resourceType, $currentFolder )
|
||||||
{
|
{
|
||||||
// Map the virtual path to the local server path.
|
// Map the virtual path to the local server path.
|
||||||
|
|||||||
@ -35,13 +35,18 @@ if ( !$Config['Enabled'] )
|
|||||||
|
|
||||||
DoResponse();
|
DoResponse();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DoResponse
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function DoResponse()
|
function DoResponse()
|
||||||
{
|
{
|
||||||
if (!isset($_GET)) {
|
if (!isset($_GET)) {
|
||||||
global $_GET;
|
global $_GET;
|
||||||
}
|
}
|
||||||
if ( !isset( $_GET['Command'] ) || !isset( $_GET['Type'] ) || !isset( $_GET['CurrentFolder'] ) )
|
if ( !isset( $_GET['Command'] ) || !isset( $_GET['Type'] ) || !isset( $_GET['CurrentFolder'] ) )
|
||||||
return ;
|
return;
|
||||||
|
|
||||||
// Get the main request informaiton.
|
// Get the main request informaiton.
|
||||||
$sCommand = $_GET['Command'] ;
|
$sCommand = $_GET['Command'] ;
|
||||||
@ -60,7 +65,7 @@ function DoResponse()
|
|||||||
if ( $sCommand == 'FileUpload' )
|
if ( $sCommand == 'FileUpload' )
|
||||||
{
|
{
|
||||||
FileUpload($sResourceType, $sCurrentFolder, $sCommand);
|
FileUpload($sResourceType, $sCurrentFolder, $sCommand);
|
||||||
return ;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateXmlHeader($sCommand, $sResourceType, $sCurrentFolder);
|
CreateXmlHeader($sCommand, $sResourceType, $sCurrentFolder);
|
||||||
@ -70,16 +75,16 @@ function DoResponse()
|
|||||||
{
|
{
|
||||||
case 'GetFolders' :
|
case 'GetFolders' :
|
||||||
GetFolders($sResourceType, $sCurrentFolder);
|
GetFolders($sResourceType, $sCurrentFolder);
|
||||||
break ;
|
break;
|
||||||
case 'GetFoldersAndFiles' :
|
case 'GetFoldersAndFiles' :
|
||||||
GetFoldersAndFiles($sResourceType, $sCurrentFolder);
|
GetFoldersAndFiles($sResourceType, $sCurrentFolder);
|
||||||
break ;
|
break;
|
||||||
case 'CreateFolder' :
|
case 'CreateFolder' :
|
||||||
CreateFolder($sResourceType, $sCurrentFolder);
|
CreateFolder($sResourceType, $sCurrentFolder);
|
||||||
break ;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateXmlFooter();
|
CreateXmlFooter();
|
||||||
|
|
||||||
exit ;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -115,11 +115,18 @@ function ServerMapFolder($resourceType, $folderPath, $sCommand)
|
|||||||
return CombinePaths($sResourceTypePath, $folderPath);
|
return CombinePaths($sResourceTypePath, $folderPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetParentFolder( $folderPath )
|
/**
|
||||||
|
* GetParentFolder
|
||||||
|
*
|
||||||
|
* @param string $folderPath Folder path
|
||||||
|
* @return string Parent folder
|
||||||
|
*/
|
||||||
|
function GetParentFolder($folderPath)
|
||||||
{
|
{
|
||||||
$sPattern = "-[/\\\\][^/\\\\]+[/\\\\]?$-" ;
|
$sPattern = "-[/\\\\][^/\\\\]+[/\\\\]?$-" ;
|
||||||
return preg_replace($sPattern, '', $folderPath);
|
return preg_replace($sPattern, '', $folderPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CreateServerFolder
|
* CreateServerFolder
|
||||||
*
|
*
|
||||||
|
|||||||
@ -27,7 +27,14 @@ require 'util.php';
|
|||||||
require 'io.php';
|
require 'io.php';
|
||||||
require 'commands.php';
|
require 'commands.php';
|
||||||
|
|
||||||
function SendError( $number, $text )
|
/**
|
||||||
|
* SendError
|
||||||
|
*
|
||||||
|
* @param string $number Number
|
||||||
|
* @param string $text Text
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
function SendError($number, $text)
|
||||||
{
|
{
|
||||||
SendUploadResults($number, '', '', $text);
|
SendUploadResults($number, '', '', $text);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1028,6 +1028,8 @@ function dol_print_date($time,$format='',$tzoutput='tzserver',$outputlangs='',$e
|
|||||||
*/
|
*/
|
||||||
function dol_getdate($timestamp,$fast=false)
|
function dol_getdate($timestamp,$fast=false)
|
||||||
{
|
{
|
||||||
|
global $conf;
|
||||||
|
|
||||||
$usealternatemethod=false;
|
$usealternatemethod=false;
|
||||||
if ($timestamp <= 0) $usealternatemethod=true; // <= 1970
|
if ($timestamp <= 0) $usealternatemethod=true; // <= 1970
|
||||||
if ($timestamp >= 2145913200) $usealternatemethod=true; // >= 2038
|
if ($timestamp >= 2145913200) $usealternatemethod=true; // >= 2038
|
||||||
@ -1039,6 +1041,19 @@ function dol_getdate($timestamp,$fast=false)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$arrayinfo=getdate($timestamp);
|
$arrayinfo=getdate($timestamp);
|
||||||
|
|
||||||
|
$startday=isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:1;
|
||||||
|
if($startday==1)
|
||||||
|
{
|
||||||
|
if ($arrayinfo["wday"]==0)
|
||||||
|
{
|
||||||
|
$arrayinfo["wday"]=6;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$arrayinfo["wday"]=$arrayinfo["wday"]-1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $arrayinfo;
|
return $arrayinfo;
|
||||||
@ -1101,11 +1116,11 @@ function dol_mktime($hour,$minute,$second,$month,$day,$year,$gm=false,$check=1)
|
|||||||
$default_timezone=@date_default_timezone_get();
|
$default_timezone=@date_default_timezone_get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($localtz)) {
|
if (empty($localtz)) {
|
||||||
$localtz = new DateTimeZone('UTC');
|
$localtz = new DateTimeZone('UTC');
|
||||||
}
|
}
|
||||||
|
|
||||||
$dt = new DateTime(null,$localtz);
|
$dt = new DateTime(null,$localtz);
|
||||||
$dt->setDate($year,$month,$day);
|
$dt->setDate($year,$month,$day);
|
||||||
$dt->setTime((int) $hour, (int) $minute, (int) $second);
|
$dt->setTime((int) $hour, (int) $minute, (int) $second);
|
||||||
@ -3580,7 +3595,7 @@ function get_default_localtax($thirdparty_seller, $thirdparty_buyer, $local, $id
|
|||||||
* Return yes or no in current language
|
* Return yes or no in current language
|
||||||
*
|
*
|
||||||
* @param string $yesno Value to test (1, 'yes', 'true' or 0, 'no', 'false')
|
* @param string $yesno Value to test (1, 'yes', 'true' or 0, 'no', 'false')
|
||||||
* @param string $case 1=Yes/No, 0=yes/no
|
* @param string $case 1=Yes/No, 0=yes/no, 2=Disabled checkbox, 3=Disabled checkbox + Yes/No
|
||||||
* @param int $color 0=texte only, 1=Text is formated with a color font style ('ok' or 'error'), 2=Text is formated with 'ok' color.
|
* @param int $color 0=texte only, 1=Text is formated with a color font style ('ok' or 'error'), 2=Text is formated with 'ok' color.
|
||||||
* @return string HTML string
|
* @return string HTML string
|
||||||
*/
|
*/
|
||||||
@ -3590,12 +3605,20 @@ function yn($yesno, $case=1, $color=0)
|
|||||||
$result='unknown';
|
$result='unknown';
|
||||||
if ($yesno == 1 || strtolower($yesno) == 'yes' || strtolower($yesno) == 'true') // A mettre avant test sur no a cause du == 0
|
if ($yesno == 1 || strtolower($yesno) == 'yes' || strtolower($yesno) == 'true') // A mettre avant test sur no a cause du == 0
|
||||||
{
|
{
|
||||||
$result=($case?$langs->trans("Yes"):$langs->trans("yes"));
|
$result=$langs->trans('yes');
|
||||||
|
if ($case == 1 || $case == 3) $result=$langs->trans("Yes");
|
||||||
|
if ($case == 2) $result='<input type="checkbox" value="1" checked="checked" disabled="disabled">';
|
||||||
|
if ($case == 3) $result='<input type="checkbox" value="1" checked="checked" disabled="disabled"> '.$result;
|
||||||
|
|
||||||
$classname='ok';
|
$classname='ok';
|
||||||
}
|
}
|
||||||
elseif ($yesno == 0 || strtolower($yesno) == 'no' || strtolower($yesno) == 'false')
|
elseif ($yesno == 0 || strtolower($yesno) == 'no' || strtolower($yesno) == 'false')
|
||||||
{
|
{
|
||||||
$result=($case?$langs->trans("No"):$langs->trans("no"));
|
$result=$langs->trans("no");
|
||||||
|
if ($case == 1 || $case == 3) $result=$langs->trans("No");
|
||||||
|
if ($case == 2) $result='<input type="checkbox" value="0" disabled="disabled">';
|
||||||
|
if ($case == 3) $result='<input type="checkbox" value="0" disabled="disabled"> '.$result;
|
||||||
|
|
||||||
if ($color == 2) $classname='ok';
|
if ($color == 2) $classname='ok';
|
||||||
else $classname='error';
|
else $classname='error';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -126,7 +126,12 @@ function user_prepare_head($object)
|
|||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare array with list of tabs
|
||||||
|
*
|
||||||
|
* @param Group $object Object group
|
||||||
|
* @return array Array of tabs
|
||||||
|
*/
|
||||||
function group_prepare_head($object)
|
function group_prepare_head($object)
|
||||||
{
|
{
|
||||||
global $langs, $conf, $user;
|
global $langs, $conf, $user;
|
||||||
|
|||||||
@ -67,7 +67,7 @@ class modProductBatch extends DolibarrModules
|
|||||||
$this->config_page_url = array();
|
$this->config_page_url = array();
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
$this->depends = array("modProduct","modStock"); // List of modules id that must be enabled if this module is enabled
|
$this->depends = array("modProduct","modStock","modExpedition","modSupplier"); // List of modules id that must be enabled if this module is enabled. modExpedition is required to manage batch exit (by manual stock decrease on shipment), modSupplier to manage batch entry (after supplier order).
|
||||||
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
||||||
$this->phpmin = array(5,0); // Minimum version of PHP required by module
|
$this->phpmin = array(5,0); // Minimum version of PHP required by module
|
||||||
$this->need_dolibarr_version = array(3,0); // Minimum version of Dolibarr required by module
|
$this->need_dolibarr_version = array(3,0); // Minimum version of Dolibarr required by module
|
||||||
|
|||||||
@ -108,10 +108,10 @@ else {
|
|||||||
echo '> ';
|
echo '> ';
|
||||||
// Show type selector
|
// Show type selector
|
||||||
echo $langs->trans("FreeLineOfType");
|
echo $langs->trans("FreeLineOfType");
|
||||||
echo ' ';
|
|
||||||
echo '</label>';
|
echo '</label>';
|
||||||
|
echo ' ';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo '<input type="hidden" id="prod_entry_mode_free" name="prod_entry_mode" value="free">';
|
echo '<input type="hidden" id="prod_entry_mode_free" name="prod_entry_mode" value="free">';
|
||||||
// Show type selector
|
// Show type selector
|
||||||
|
|||||||
@ -84,9 +84,24 @@ if ($id > 0 || ! empty($ref))
|
|||||||
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
|
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
|
||||||
$hookmanager->initHooks(array('expeditioncard','globalcard'));
|
$hookmanager->initHooks(array('expeditioncard','globalcard'));
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$warehousecanbeselectedlater=1;
|
||||||
|
if (! empty($conf->productbatch->enabled))
|
||||||
|
{
|
||||||
|
if (! (GETPOST('entrepot_id','int') > 0))
|
||||||
|
{
|
||||||
|
$langs->load("errors");
|
||||||
|
setEventMessage($langs->trans("WarhouseMustBeSelectedAtFirstStepWhenProductBatchModuleOn"),'errors');
|
||||||
|
header("Location: ".DOL_URL_ROOT.'/expedition/shipment.php?id='.$id);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$parameters=array();
|
$parameters=array();
|
||||||
$reshook=$hookmanager->executeHooks('doActions',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('doActions',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
@ -593,7 +608,7 @@ if ($action == 'create')
|
|||||||
print_fiche_titre($langs->trans("CreateASending"));
|
print_fiche_titre($langs->trans("CreateASending"));
|
||||||
if (! $origin)
|
if (! $origin)
|
||||||
{
|
{
|
||||||
$mesg='<div class="error">'.$langs->trans("ErrorBadParameters").'</div>';
|
setEventMessage($langs->trans("ErrorBadParameters"),'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
dol_htmloutput_mesg($mesg);
|
dol_htmloutput_mesg($mesg);
|
||||||
@ -771,10 +786,13 @@ if ($action == 'create')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
if (! empty($conf->stock->enabled))
|
if (! empty($conf->stock->enabled))
|
||||||
{
|
{
|
||||||
if (empty($conf->productbatch->enabled)) {
|
if (empty($conf->productbatch->enabled))
|
||||||
print '<td align="left">'.$langs->trans("Warehouse").' / '.$langs->trans("Stock").'</td>';
|
{
|
||||||
} else {
|
print '<td align="left">'.$langs->trans("Warehouse").' ('.$langs->trans("Stock").')</td>';
|
||||||
print '<td align="left">'.$langs->trans("Warehouse").' / '.$langs->trans("Batch").' / '.$langs->trans("Stock").'</td>';
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print '<td align="left">'.$langs->trans("Warehouse").' / '.$langs->trans("Batch").' ('.$langs->trans("Stock").')</td>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
@ -828,7 +846,7 @@ if ($action == 'create')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "<td>";
|
print "<td>";
|
||||||
if ($type==1) $text = img_object($langs->trans('Service'),'service');
|
if ($type==1) $text = img_object($langs->trans('Service'),'service');
|
||||||
else $text = img_object($langs->trans('Product'),'product');
|
else $text = img_object($langs->trans('Product'),'product');
|
||||||
@ -861,17 +879,19 @@ if ($action == 'create')
|
|||||||
$quantityAsked = $line->qty;
|
$quantityAsked = $line->qty;
|
||||||
$quantityToBeDelivered = $quantityAsked - $quantityDelivered;
|
$quantityToBeDelivered = $quantityAsked - $quantityDelivered;
|
||||||
|
|
||||||
|
$warehouse_id = GETPOST('entrepot_id','int');
|
||||||
|
|
||||||
$defaultqty=0;
|
$defaultqty=0;
|
||||||
if (GETPOST('entrepot_id','int') > 0)
|
if ($warehouse_id > 0)
|
||||||
{
|
{
|
||||||
//var_dump($product);
|
//var_dump($product);
|
||||||
$stock = $product->stock_warehouse[GETPOST('entrepot_id','int')]->real;
|
$stock = $product->stock_warehouse[$warehouse_id]->real;
|
||||||
$stock+=0; // Convertit en numerique
|
$stock+=0; // Convertit en numerique
|
||||||
$defaultqty=min($quantityToBeDelivered, $stock);
|
$defaultqty=min($quantityToBeDelivered, $stock);
|
||||||
if (($line->product_type == 1 && empty($conf->global->STOCK_SUPPORTS_SERVICES)) || $defaultqty < 0) $defaultqty=0;
|
if (($line->product_type == 1 && empty($conf->global->STOCK_SUPPORTS_SERVICES)) || $defaultqty < 0) $defaultqty=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($conf->productbatch->enabled) || ! ($product->hasbatch() and is_object($product->stock_warehouse[GETPOST('entrepot_id','int')])))
|
if (empty($conf->productbatch->enabled) || ! ($product->hasbatch() and is_object($product->stock_warehouse[$warehouse_id])))
|
||||||
{
|
{
|
||||||
// Quantity to send
|
// Quantity to send
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
@ -892,14 +912,14 @@ if ($action == 'create')
|
|||||||
// Show warehouse combo list
|
// Show warehouse combo list
|
||||||
$ent = "entl".$indiceAsked;
|
$ent = "entl".$indiceAsked;
|
||||||
$idl = "idl".$indiceAsked;
|
$idl = "idl".$indiceAsked;
|
||||||
$tmpentrepot_id = is_numeric(GETPOST($ent,'int'))?GETPOST($ent,'int'):GETPOST('entrepot_id','int');
|
$tmpentrepot_id = is_numeric(GETPOST($ent,'int'))?GETPOST($ent,'int'):$warehouse_id;
|
||||||
print $formproduct->selectWarehouses($tmpentrepot_id,'entl'.$indiceAsked,'',1,0,$line->fk_product);
|
print $formproduct->selectWarehouses($tmpentrepot_id,'entl'.$indiceAsked,'',1,0,$line->fk_product);
|
||||||
if ($tmpentrepot_id > 0 && $tmpentrepot_id == GETPOST('entrepot_id','int'))
|
if ($tmpentrepot_id > 0 && $tmpentrepot_id == $warehouse_id)
|
||||||
{
|
{
|
||||||
//print $stock.' '.$quantityToBeDelivered;
|
//print $stock.' '.$quantityToBeDelivered;
|
||||||
if ($stock < $quantityToBeDelivered)
|
if ($stock < $quantityToBeDelivered)
|
||||||
{
|
{
|
||||||
print ' '.img_warning($langs->trans("StockTooLow")); // Stock too low for entrepot_id but we may have change warehouse
|
print ' '.img_warning($langs->trans("StockTooLow")); // Stock too low for this $warehouse_id but you can change warehouse
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -934,11 +954,14 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
print '<td></td><td></td></tr>';
|
print '<td></td><td></td></tr>';
|
||||||
$subj=0;
|
$subj=0;
|
||||||
print '<input name="idl'.$indiceAsked.'" type="hidden" value="'.$line->id.'">';
|
print '<input name="idl'.$indiceAsked.'" type="hidden" value="'.$line->id.'">';
|
||||||
foreach ($product->stock_warehouse[GETPOST('entrepot_id','int')]->detail_batch as $dbatch) {
|
foreach ($product->stock_warehouse[$warehouse_id]->detail_batch as $dbatch)
|
||||||
|
{
|
||||||
//var_dump($dbatch);
|
//var_dump($dbatch);
|
||||||
$substock=$dbatch->qty +0 ;
|
$substock=$dbatch->qty +0 ;
|
||||||
print '<tr><td colspan="3" ></td><td align="center">';
|
print '<tr><td colspan="3" ></td><td align="center">';
|
||||||
@ -946,8 +969,13 @@ if ($action == 'create')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
print '<td align="left">';
|
print '<td align="left">';
|
||||||
|
|
||||||
|
$staticwarehouse=new Entrepot($db);
|
||||||
|
$staticwarehouse->fetch($warehouse_id);
|
||||||
|
print $staticwarehouse->getNomUrl(0).' / ';
|
||||||
|
|
||||||
print '<input name="batchl'.$indiceAsked.'_'.$subj.'" type="hidden" value="'.$dbatch->id.'">';
|
print '<input name="batchl'.$indiceAsked.'_'.$subj.'" type="hidden" value="'.$dbatch->id.'">';
|
||||||
print $langs->trans("DetailBatchFormat", dol_print_date($dbatch->eatby,"day"), dol_print_date($dbatch->sellby,"day"), $dbatch->batch, $dbatch->qty);
|
print $langs->trans("DetailBatchFormat", $dbatch->batch, dol_print_date($dbatch->eatby,"day"), dol_print_date($dbatch->sellby,"day"), $dbatch->qty);
|
||||||
if ($defaultqty<=0) {
|
if ($defaultqty<=0) {
|
||||||
$defaultqty=0;
|
$defaultqty=0;
|
||||||
} else {
|
} else {
|
||||||
@ -1451,12 +1479,14 @@ else if ($id || $ref)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Batch number managment
|
// Batch number managment
|
||||||
if (! empty($conf->productbatch->enabled)) {
|
if (! empty($conf->productbatch->enabled))
|
||||||
if (isset($lines[$i]->detail_batch) ) {
|
{
|
||||||
print '<td align="center">';
|
if (isset($lines[$i]->detail_batch))
|
||||||
|
{
|
||||||
|
print '<td>';
|
||||||
$detail = '';
|
$detail = '';
|
||||||
foreach ($lines[$i]->detail_batch as $dbatch) {
|
foreach ($lines[$i]->detail_batch as $dbatch) {
|
||||||
$detail.= $langs->trans("DetailBatchFormat",dol_print_date($dbatch->eatby,"day"),dol_print_date($dbatch->sellby,"day"),$dbatch->batch,$dbatch->dluo_qty).'<br/>';
|
$detail.= $langs->trans("DetailBatchFormat",$dbatch->batch,dol_print_date($dbatch->eatby,"day"),dol_print_date($dbatch->sellby,"day"),$dbatch->dluo_qty).'<br/>';
|
||||||
}
|
}
|
||||||
print $form->textwithtooltip($langs->trans("DetailBatchNumber"),$detail);
|
print $form->textwithtooltip($langs->trans("DetailBatchNumber"),$detail);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -114,7 +114,7 @@ if ($resql)
|
|||||||
/*
|
/*
|
||||||
* Commandes a traiter
|
* Commandes a traiter
|
||||||
*/
|
*/
|
||||||
$sql = "SELECT c.rowid, c.ref, s.nom as name, s.rowid as socid";
|
$sql = "SELECT c.rowid, c.ref, c.fk_statut, s.nom as name, s.rowid as socid";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."commande as c";
|
$sql.= " FROM ".MAIN_DB_PREFIX."commande as c";
|
||||||
$sql.= ", ".MAIN_DB_PREFIX."societe as s";
|
$sql.= ", ".MAIN_DB_PREFIX."societe as s";
|
||||||
if (!$user->rights->societe->client->voir && !$socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
|
if (!$user->rights->societe->client->voir && !$socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
|
||||||
@ -136,7 +136,7 @@ if ($resql)
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td colspan="2">'.$langs->trans("OrdersToProcess").'</td></tr>';
|
print '<td colspan="3">'.$langs->trans("OrdersToProcess").'</td></tr>';
|
||||||
$var = True;
|
$var = True;
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
@ -146,13 +146,19 @@ if ($resql)
|
|||||||
print '<td class="nowrap">';
|
print '<td class="nowrap">';
|
||||||
$orderstatic->id=$obj->rowid;
|
$orderstatic->id=$obj->rowid;
|
||||||
$orderstatic->ref=$obj->ref;
|
$orderstatic->ref=$obj->ref;
|
||||||
|
$orderstatic->statut=$obj->fk_statut;
|
||||||
|
$orderstatic->facturee=0;
|
||||||
print $orderstatic->getNomUrl(1);
|
print $orderstatic->getNomUrl(1);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
$companystatic->name=$obj->name;
|
$companystatic->name=$obj->name;
|
||||||
$companystatic->id=$obj->socid;
|
$companystatic->id=$obj->socid;
|
||||||
print $companystatic->getNomUrl(1,'customer',32);
|
print $companystatic->getNomUrl(1,'customer',32);
|
||||||
print '</td></tr>';
|
print '</td>';
|
||||||
|
print '<td align="right">';
|
||||||
|
print $orderstatic->getLibStatut(3);
|
||||||
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
print "</table><br>";
|
print "</table><br>";
|
||||||
|
|||||||
@ -643,7 +643,10 @@ if ($id > 0 || ! empty($ref))
|
|||||||
|
|
||||||
if (! empty($conf->stock->enabled))
|
if (! empty($conf->stock->enabled))
|
||||||
{
|
{
|
||||||
print '<td>'.$langs->trans("WarehouseSource").'</td>';
|
$warehousecanbeselectedlater=1;
|
||||||
|
if (! empty($conf->productbatch->enabled)) $warehousecanbeselectedlater=0;
|
||||||
|
|
||||||
|
print '<td'.($warehousecanbeselectedlater?'':' class="fieldrequired"').'>'.$langs->trans("WarehouseSource").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $formproduct->selectWarehouses(-1,'entrepot_id','',1);
|
print $formproduct->selectWarehouses(-1,'entrepot_id','',1);
|
||||||
if (count($formproduct->cache_warehouses) <= 0)
|
if (count($formproduct->cache_warehouses) <= 0)
|
||||||
|
|||||||
@ -10,10 +10,11 @@ batch_number=Batch/Serial number
|
|||||||
l_eatby=Eat-by date
|
l_eatby=Eat-by date
|
||||||
l_sellby=Sell-by date
|
l_sellby=Sell-by date
|
||||||
DetailBatchNumber=Batch/Serial details
|
DetailBatchNumber=Batch/Serial details
|
||||||
DetailBatchFormat=E:%s S: %s BATCH: %s (Qty : %d)
|
DetailBatchFormat=Batch/Serial: %s - E:%s - S: %s (Qty : %d)
|
||||||
printBatch=Batch: %s
|
printBatch=Batch: %s
|
||||||
printEatby=Eat-by: %s
|
printEatby=Eat-by: %s
|
||||||
printSellby=Sell-by: %s
|
printSellby=Sell-by: %s
|
||||||
printQty=Qty: %d
|
printQty=Qty: %d
|
||||||
AddDispatchBatchLine=Add a line for Shelf Life dispatching
|
AddDispatchBatchLine=Add a line for Shelf Life dispatching
|
||||||
BatchDefaultNumber=Undefined
|
BatchDefaultNumber=Undefined
|
||||||
|
WhenProductBatchModuleOnOptionAreForced=When module Batch/Serial is on, increase/decrease stock mode is forced to last choice and can't be edited. Other options can be defined as you want.
|
||||||
|
|||||||
@ -25,12 +25,12 @@ Selectchartofaccounts=Seleccione un plan contable
|
|||||||
Validate=Validar
|
Validate=Validar
|
||||||
Addanaccount=Añadir una cuenta contable
|
Addanaccount=Añadir una cuenta contable
|
||||||
AccountAccounting=Cuenta contable
|
AccountAccounting=Cuenta contable
|
||||||
Ventilation=Breakdown
|
Ventilation=Contabilizar
|
||||||
ToDispatch=A realizar
|
ToDispatch=A realizar
|
||||||
Dispatched=Realizadas
|
Dispatched=Realizadas
|
||||||
|
|
||||||
CustomersVentilation=Breakdown customers
|
CustomersVentilation=Contabilizar clientes
|
||||||
SuppliersVentilation=Breakdown suppliers
|
SuppliersVentilation=Contabilizar proveedores
|
||||||
TradeMargin=Margen de beneficio
|
TradeMargin=Margen de beneficio
|
||||||
Reports=Informes
|
Reports=Informes
|
||||||
ByCustomerInvoice=Por facturas a clientes
|
ByCustomerInvoice=Por facturas a clientes
|
||||||
@ -45,9 +45,9 @@ WriteBookKeeping=Registrar los asientos en el libro mayor
|
|||||||
Bookkeeping=Libro Mayor
|
Bookkeeping=Libro Mayor
|
||||||
AccountBalanceByMonth=Saldo mensual
|
AccountBalanceByMonth=Saldo mensual
|
||||||
|
|
||||||
AccountingVentilation=Breakdown accounting
|
AccountingVentilation=Descuadre contabilidad
|
||||||
AccountingVentilationSupplier=Breakdown accounting supplier
|
AccountingVentilationSupplier=Contablilización compras
|
||||||
AccountingVentilationCustomer=Breakdown accounting customer
|
AccountingVentilationCustomer=Contabilización ventas
|
||||||
Line=Línea
|
Line=Línea
|
||||||
|
|
||||||
CAHTF=Total (base imponible) compras a proveedor
|
CAHTF=Total (base imponible) compras a proveedor
|
||||||
@ -56,7 +56,7 @@ InvoiceLinesDone=Líneas de facturas contabilizadas
|
|||||||
IntoAccount=En la cuenta
|
IntoAccount=En la cuenta
|
||||||
|
|
||||||
Ventilate=Contabilizar
|
Ventilate=Contabilizar
|
||||||
VentilationAuto=Automatic breakdown
|
VentilationAuto=Contabilización automática
|
||||||
|
|
||||||
Processing=Tratamiento
|
Processing=Tratamiento
|
||||||
EndProcessing=Final del tratamiento
|
EndProcessing=Final del tratamiento
|
||||||
@ -68,9 +68,9 @@ NotVentilatedinAccount=Cuenta sin contabilización en la contabilidad
|
|||||||
|
|
||||||
ACCOUNTING_SEPARATORCSV=Separador CSV
|
ACCOUNTING_SEPARATORCSV=Separador CSV
|
||||||
|
|
||||||
ACCOUNTING_LIMIT_LIST_VENTILATION=Number of elements to be breakdown shown by page (maximum recommended : 50)
|
ACCOUNTING_LIMIT_LIST_VENTILATION=Número de elementos a contabilizar que se muestran por página (máximo recomendado: 50)
|
||||||
ACCOUNTING_LIST_SORT_VENTILATION_TODO=Begin the sorting of the breakdown pages "Has to breakdown" by the most recent elements
|
ACCOUNTING_LIST_SORT_VENTILATION_TODO=Ordenar las páginas de contabilización "A contabilizar" por los elementos más recientes
|
||||||
ACCOUNTING_LIST_SORT_VENTILATION_DONE=Begin the sorting of the breakdown pages "Breakdown" by the most recent elements
|
ACCOUNTING_LIST_SORT_VENTILATION_DONE=Ordenar las páginas de contabilización "Contabilizadas" por los elementos más recientes
|
||||||
|
|
||||||
AccountLength=Longitud de las cuentas contables mostradas en Dolibarr
|
AccountLength=Longitud de las cuentas contables mostradas en Dolibarr
|
||||||
AccountLengthDesc=Función para simular una longitud de cuenta contable sustituyendo los espacios por cero. Esta función sólo afecta a la pantalla, no cambia las cuentas contables registradas en Dolibarr. Esta función es necesaria para la exportación, para ser compatible con algunos programas.
|
AccountLengthDesc=Función para simular una longitud de cuenta contable sustituyendo los espacios por cero. Esta función sólo afecta a la pantalla, no cambia las cuentas contables registradas en Dolibarr. Esta función es necesaria para la exportación, para ser compatible con algunos programas.
|
||||||
@ -140,14 +140,14 @@ Active=Estado
|
|||||||
|
|
||||||
NewFiscalYear=Nuevo año fiscal
|
NewFiscalYear=Nuevo año fiscal
|
||||||
|
|
||||||
DescVentilCustomer=Consult here the annual breakdown accounting of your invoices customers
|
DescVentilCustomer=Consulte aquí la contabilización anual de sus facturas a clientes
|
||||||
TotalVente=Total ventas (base imponible)
|
TotalVente=Total ventas (base imponible)
|
||||||
TotalMarge=Total margen ventas
|
TotalMarge=Total margen ventas
|
||||||
DescVentilDoneCustomer=Consulte aquí las líneas de facturas a clientes y sus cuentas contables
|
DescVentilDoneCustomer=Consulte aquí las líneas de facturas a clientes y sus cuentas contables
|
||||||
DescVentilTodoCustomer=Contabilice sus líneas de facturas a clientes con una cuenta contable
|
DescVentilTodoCustomer=Contabilice sus líneas de facturas a clientes con una cuenta contable
|
||||||
ChangeAccount=Cambie la cuenta para las líneas seleccionadas a la cuenta:
|
ChangeAccount=Cambie la cuenta para las líneas seleccionadas a la cuenta:
|
||||||
Vide=-
|
Vide=-
|
||||||
DescVentilSupplier=Consult here the annual breakdown accounting of your invoices suppliers
|
DescVentilSupplier=Consulte aquí la contabilidad anual de sus facturas de proveedores
|
||||||
DescVentilTodoSupplier=Contabilize sus líneas de facturas de proveedores
|
DescVentilTodoSupplier=Contabilize sus líneas de facturas de proveedores
|
||||||
DescVentilDoneSupplier=Consulte aquí la lista de facturas de proveedores y sus cuentas contables
|
DescVentilDoneSupplier=Consulte aquí la lista de facturas de proveedores y sus cuentas contables
|
||||||
|
|
||||||
@ -155,4 +155,4 @@ ValidateHistory=Validar automáticamente
|
|||||||
|
|
||||||
ErrorAccountancyCodeIsAlreadyUse=Error, no puede eliminar esta cuenta ya que está siendo usada
|
ErrorAccountancyCodeIsAlreadyUse=Error, no puede eliminar esta cuenta ya que está siendo usada
|
||||||
|
|
||||||
FicheVentilation=Breakdown card
|
FicheVentilation=Ficha contable
|
||||||
|
|||||||
@ -437,8 +437,8 @@ Module52Name=Stocks de productos
|
|||||||
Module52Desc=Gestión de stocks de productos
|
Module52Desc=Gestión de stocks de productos
|
||||||
Module53Name=Servicios
|
Module53Name=Servicios
|
||||||
Module53Desc=Gestión de servicios
|
Module53Desc=Gestión de servicios
|
||||||
Module54Name=Contracts/Subscriptions
|
Module54Name=Contratos/Suscripciones
|
||||||
Module54Desc=Management of contracts (services or reccuring subscriptions)
|
Module54Desc=Gestión de contratos (servicios o suscripciones recurrentes)
|
||||||
Module55Name=Códigos de barras
|
Module55Name=Códigos de barras
|
||||||
Module55Desc=Gestión de los códigos de barras
|
Module55Desc=Gestión de los códigos de barras
|
||||||
Module56Name=Telefonía
|
Module56Name=Telefonía
|
||||||
@ -475,8 +475,8 @@ Module320Name=Hilos RSS
|
|||||||
Module320Desc=Adición de hilos de información RSS en las pantallas Dolibarr
|
Module320Desc=Adición de hilos de información RSS en las pantallas Dolibarr
|
||||||
Module330Name=Marcadores
|
Module330Name=Marcadores
|
||||||
Module330Desc=Gestión de marcadores
|
Module330Desc=Gestión de marcadores
|
||||||
Module400Name=Projects/Opportunity
|
Module400Name=Proyectos/Oportunidades
|
||||||
Module400Desc=Management of projects or opportunity. You can then assign all other elements (invoice, order, proposal, intervention, ...) to this projects
|
Module400Desc=Gestión de proyectos o oportunidades. Puede asignar otros elementos (facturas, pedidos, presupuestos, intervenciones, etc.) a los proyectos
|
||||||
Module410Name=Webcalendar
|
Module410Name=Webcalendar
|
||||||
Module410Desc=Interfaz con el calendario Webcalendar
|
Module410Desc=Interfaz con el calendario Webcalendar
|
||||||
Module500Name=Gastos especiales (impuestos, gastos sociales, dividendos)
|
Module500Name=Gastos especiales (impuestos, gastos sociales, dividendos)
|
||||||
@ -495,6 +495,8 @@ Module1780Name=Categorías
|
|||||||
Module1780Desc=Gestión de categorías (productos, proveedores y clientes)
|
Module1780Desc=Gestión de categorías (productos, proveedores y clientes)
|
||||||
Module2000Name=Editor WYSIWYG
|
Module2000Name=Editor WYSIWYG
|
||||||
Module2000Desc=Permite la edición de ciertas zonas de texto mediante un editor avanzado
|
Module2000Desc=Permite la edición de ciertas zonas de texto mediante un editor avanzado
|
||||||
|
Module2200Name=Precios dinámicos
|
||||||
|
Module2200Desc=Activar el uso de expresiones matemáticas para precios
|
||||||
Module2300Name=Programador
|
Module2300Name=Programador
|
||||||
Module2300Desc=Tareas programadas
|
Module2300Desc=Tareas programadas
|
||||||
Module2400Name=Agenda
|
Module2400Name=Agenda
|
||||||
@ -503,6 +505,8 @@ Module2500Name=Gestión Electrónica de Documentos
|
|||||||
Module2500Desc=Permite administrar una base de documentos
|
Module2500Desc=Permite administrar una base de documentos
|
||||||
Module2600Name=WebServices
|
Module2600Name=WebServices
|
||||||
Module2600Desc=Activa los servicios de servidor web services de Dolibarr
|
Module2600Desc=Activa los servicios de servidor web services de Dolibarr
|
||||||
|
Module2650Name=WebServices (cliente)
|
||||||
|
Module2650Desc=Habilitar los servicios web cliente de Dolibarr (puede ser utilizado para grabar datos/solicitudes de servidores externos. De momento solo se soporta pedidos a proveedor)
|
||||||
Module2700Name=Gravatar
|
Module2700Name=Gravatar
|
||||||
Module2700Desc=Utiliza el servicio en línea de Gravatar (www.gravatar.com) para mostrar fotos de los usuarios/miembros (que se encuentran en sus mensajes de correo electrónico). Necesita un acceso a Internet
|
Module2700Desc=Utiliza el servicio en línea de Gravatar (www.gravatar.com) para mostrar fotos de los usuarios/miembros (que se encuentran en sus mensajes de correo electrónico). Necesita un acceso a Internet
|
||||||
Module2800Desc=Cliente FTP
|
Module2800Desc=Cliente FTP
|
||||||
@ -517,7 +521,7 @@ Module6000Desc=Gestión del flujo de trabajo
|
|||||||
Module20000Name=Gestión de días libres retribuidos
|
Module20000Name=Gestión de días libres retribuidos
|
||||||
Module20000Desc=Gestión de los días libres retribuidos de los empleados
|
Module20000Desc=Gestión de los días libres retribuidos de los empleados
|
||||||
Module39000Name=Lotes de productos
|
Module39000Name=Lotes de productos
|
||||||
Module39000Desc=Gestión de lotes y fechas de caducidad y venta de los productos
|
Module39000Desc=Gestión de lotes o series, fechas de caducidad y venta de los productos
|
||||||
Module50000Name=PayBox
|
Module50000Name=PayBox
|
||||||
Module50000Desc=Módulo para proporcionar un pago en línea con tarjeta de crédito mediante Paybox
|
Module50000Desc=Módulo para proporcionar un pago en línea con tarjeta de crédito mediante Paybox
|
||||||
Module50100Name=TPV
|
Module50100Name=TPV
|
||||||
@ -606,11 +610,11 @@ Permission151=Consultar domiciliaciones
|
|||||||
Permission152=Crear/modificar domiciliaciones
|
Permission152=Crear/modificar domiciliaciones
|
||||||
Permission153=Enviar domiciliaciones
|
Permission153=Enviar domiciliaciones
|
||||||
Permission154=Abonar/devolver domiciliaciones
|
Permission154=Abonar/devolver domiciliaciones
|
||||||
Permission161=Read contracts/subscriptions
|
Permission161=Consultar contratos/suscripciones
|
||||||
Permission162=Create/modify contracts/subscriptions
|
Permission162=Crear/modificar contratos/suscripciones
|
||||||
Permission163=Activate a service/subscription of a contract
|
Permission163=Activar un servicio/suscripción de un contrato
|
||||||
Permission164=Disable a service/subscription of a contract
|
Permission164=Desactivar un servicio/suscripcion de un contrato
|
||||||
Permission165=Delete contracts/subscriptions
|
Permission165=Eliminar contratos/suscripciones
|
||||||
Permission171=Leer honorarios (propios y de sus subordinados)
|
Permission171=Leer honorarios (propios y de sus subordinados)
|
||||||
Permission172=Crear/modificar honorarios
|
Permission172=Crear/modificar honorarios
|
||||||
Permission173=Eliminar honorarios
|
Permission173=Eliminar honorarios
|
||||||
@ -672,7 +676,7 @@ Permission300=Consultar códigos de barras
|
|||||||
Permission301=Crear/modificar códigos de barras
|
Permission301=Crear/modificar códigos de barras
|
||||||
Permission302=Eliminar código de barras
|
Permission302=Eliminar código de barras
|
||||||
Permission311=Consultar servicios
|
Permission311=Consultar servicios
|
||||||
Permission312=Assign service/subscription to contract
|
Permission312=Asignar servicios/suscripciones a un contrato
|
||||||
Permission331=Consultar marcadores
|
Permission331=Consultar marcadores
|
||||||
Permission332=Crear/modificar marcadores
|
Permission332=Crear/modificar marcadores
|
||||||
Permission333=Eliminar marcadores
|
Permission333=Eliminar marcadores
|
||||||
@ -702,8 +706,8 @@ Permission701=Consultar donaciones
|
|||||||
Permission702=Crear/modificar donaciones
|
Permission702=Crear/modificar donaciones
|
||||||
Permission703=Eliminar donaciones
|
Permission703=Eliminar donaciones
|
||||||
Permission1001=Consultar stocks
|
Permission1001=Consultar stocks
|
||||||
Permission1002=Create/modify warehouses
|
Permission1002=Crear/modificar almacenes
|
||||||
Permission1003=Delete warehouses
|
Permission1003=Eliminar almacenes
|
||||||
Permission1004=Consultar movimientos de stock
|
Permission1004=Consultar movimientos de stock
|
||||||
Permission1005=Crear/modificar movimientos de stock
|
Permission1005=Crear/modificar movimientos de stock
|
||||||
Permission1101=Consultar ordenes de envío
|
Permission1101=Consultar ordenes de envío
|
||||||
@ -1138,7 +1142,7 @@ AddDeliveryAddressAbility=Posibilidad de seleccionar una dirección de envío
|
|||||||
UseOptionLineIfNoQuantity=Una línea de producto/servicio que tiene una cantidad nula se considera como una opción
|
UseOptionLineIfNoQuantity=Una línea de producto/servicio que tiene una cantidad nula se considera como una opción
|
||||||
FreeLegalTextOnProposal=Texto libre en presupuestos
|
FreeLegalTextOnProposal=Texto libre en presupuestos
|
||||||
WatermarkOnDraftProposal=Marca de agua en presupuestos borrador (en caso de estar vacío)
|
WatermarkOnDraftProposal=Marca de agua en presupuestos borrador (en caso de estar vacío)
|
||||||
BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL=Ask for bank account destination of proposal
|
BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL=Preguntar por cuenta bancaria a usar en el presupuesto
|
||||||
##### Orders #####
|
##### Orders #####
|
||||||
OrdersSetup=Configuración del módulo pedidos
|
OrdersSetup=Configuración del módulo pedidos
|
||||||
OrdersNumberingModules=Módulos de numeración de los pedidos
|
OrdersNumberingModules=Módulos de numeración de los pedidos
|
||||||
@ -1160,7 +1164,7 @@ FicheinterNumberingModules=Módulos de numeración de las fichas de intervenció
|
|||||||
TemplatePDFInterventions=Modelo de documentos de las fichas de intervención
|
TemplatePDFInterventions=Modelo de documentos de las fichas de intervención
|
||||||
WatermarkOnDraftInterventionCards=Marca de agua en fichas de intervención (en caso de estar vacío)
|
WatermarkOnDraftInterventionCards=Marca de agua en fichas de intervención (en caso de estar vacío)
|
||||||
##### Contracts #####
|
##### Contracts #####
|
||||||
ContractsSetup=Contracts/Subscriptions module setup
|
ContractsSetup=Configuración del módulo Contratos/suscripciones
|
||||||
ContractsNumberingModules=Módulos de numeración de los contratos
|
ContractsNumberingModules=Módulos de numeración de los contratos
|
||||||
TemplatePDFContracts=Modelos de documento de contratos
|
TemplatePDFContracts=Modelos de documento de contratos
|
||||||
FreeLegalTextOnContracts=Texto libre en contratos
|
FreeLegalTextOnContracts=Texto libre en contratos
|
||||||
@ -1324,7 +1328,7 @@ FilesOfTypeNotCompressed=Archivos de tipo %s no son comprimidos por el servidor
|
|||||||
CacheByServer=Caché mediante el servidor
|
CacheByServer=Caché mediante el servidor
|
||||||
CacheByClient=Caché mediante el navegador
|
CacheByClient=Caché mediante el navegador
|
||||||
CompressionOfResources=Compresión de las respuestas HTTP
|
CompressionOfResources=Compresión de las respuestas HTTP
|
||||||
TestNotPossibleWithCurrentBrowsers=Such an automatic detection is not possible with current browsers
|
TestNotPossibleWithCurrentBrowsers=La detección automática no es posible con el navegador actual
|
||||||
##### Products #####
|
##### Products #####
|
||||||
ProductSetup=Configuración del módulo Productos
|
ProductSetup=Configuración del módulo Productos
|
||||||
ServiceSetup=Configuración del módulo Servicios
|
ServiceSetup=Configuración del módulo Servicios
|
||||||
@ -1415,9 +1419,9 @@ OSCommerceTestOk=La conexión al servidor '%s' sobre la base '%s' por el usuario
|
|||||||
OSCommerceTestKo1=La conexión al servidor '%s' sobre la base '%s' por el usuario '%s' no se pudo efectuar.
|
OSCommerceTestKo1=La conexión al servidor '%s' sobre la base '%s' por el usuario '%s' no se pudo efectuar.
|
||||||
OSCommerceTestKo2=La conexión al servidor '%s' por el usuario '%s' ha fallado.
|
OSCommerceTestKo2=La conexión al servidor '%s' por el usuario '%s' ha fallado.
|
||||||
##### Stock #####
|
##### Stock #####
|
||||||
StockSetup=Warehouse module setup
|
StockSetup=Configuración del módulo Almacenes
|
||||||
UserWarehouse=Use user personal warehouses
|
UserWarehouse=Utilizar almacenes personales de usuarios
|
||||||
IfYouUsePointOfSaleCheckModule=If you use a Point of Sale module (POS module provided by default or another external module), this setup may be ignored by your Point Of Sale module. Most point of sales modules are designed to create immediatly an invoice and decrease stock by default whatever are options here. So, if you need or not to have a stock decrease when registering a sell from your Point Of Sale, check also your POS module set up.
|
IfYouUsePointOfSaleCheckModule=Si utiliza un módulo de Punto de Venta (módulo TPV por defecto u otro módulo externo), esta configuración puede ser ignorada por su módulo de Punto de Venta. La mayor parte de módulos TPV están diseñados para crear inmediatamente una factura y decrementar stocks cualquiera que sean estas opciones. Por lo tanto, si usted necesita o no decrementar stocks en el registro de una venta de su punto de venta, controle también la configuración de su módulo TPV.
|
||||||
##### Menu #####
|
##### Menu #####
|
||||||
MenuDeleted=Menú eliminado
|
MenuDeleted=Menú eliminado
|
||||||
TreeMenu=Estructura de los menús
|
TreeMenu=Estructura de los menús
|
||||||
@ -1482,14 +1486,14 @@ ClickToDialDesc=Este módulo permite agregar un icono después del número de te
|
|||||||
##### Point Of Sales (CashDesk) #####
|
##### Point Of Sales (CashDesk) #####
|
||||||
CashDesk=TPV
|
CashDesk=TPV
|
||||||
CashDeskSetup=Configuración del módulo Terminal Punto de Venta
|
CashDeskSetup=Configuración del módulo Terminal Punto de Venta
|
||||||
CashDeskThirdPartyForSell=Default generic third party to use for sells
|
CashDeskThirdPartyForSell=Tercero genérico a usar para las ventas
|
||||||
CashDeskBankAccountForSell=Cuenta por defecto a utilizar para los cobros en efectivo (caja)
|
CashDeskBankAccountForSell=Cuenta por defecto a utilizar para los cobros en efectivo (caja)
|
||||||
CashDeskBankAccountForCheque= Cuenta por defecto a utilizar para los cobros con cheques
|
CashDeskBankAccountForCheque= Cuenta por defecto a utilizar para los cobros con cheques
|
||||||
CashDeskBankAccountForCB= Cuenta por defecto a utilizar para los cobros con tarjeta de crédito
|
CashDeskBankAccountForCB= Cuenta por defecto a utilizar para los cobros con tarjeta de crédito
|
||||||
CashDeskDoNotDecreaseStock=Disable stock decrease when a sell is done from Point of Sale
|
CashDeskDoNotDecreaseStock=Desactivar decrementos de stock si una venta se realiza desde TPV
|
||||||
CashDeskIdWareHouse=Force and restrict warehouse to use for stock decrease
|
CashDeskIdWareHouse=Forzar y restringir almacén a usar para decremento de stock
|
||||||
StockDecreaseForPointOfSaleDisabled=Stock decrease from Point Of Sale disabled
|
StockDecreaseForPointOfSaleDisabled=Decremento de stock desde TPV desactivado
|
||||||
CashDeskYouDidNotDisableStockDecease=You did not disable stock decrease when making a sell from Point Of Sale. So a warehouse is required.
|
CashDeskYouDidNotDisableStockDecease=Usted no ha desactivado el decremento de stock al hacer una venta desde TPV. Así que se requiere un almacén.
|
||||||
##### Bookmark #####
|
##### Bookmark #####
|
||||||
BookmarkSetup=Configuración del módulo Marcadores
|
BookmarkSetup=Configuración del módulo Marcadores
|
||||||
BookmarkDesc=Este módulo le permite gestionar los enlaces y accesos directos. También permite añadir cualquier página de Dolibarr o enlace web en el menú de acceso rápido de la izquierda.
|
BookmarkDesc=Este módulo le permite gestionar los enlaces y accesos directos. También permite añadir cualquier página de Dolibarr o enlace web en el menú de acceso rápido de la izquierda.
|
||||||
@ -1543,13 +1547,13 @@ ConfirmDeleteFiscalYear=¿Está seguro de querer eliminar este año fiscal?
|
|||||||
Opened=Abierto
|
Opened=Abierto
|
||||||
Closed=Cerrado
|
Closed=Cerrado
|
||||||
AlwaysEditable=Puede editarse siempre
|
AlwaysEditable=Puede editarse siempre
|
||||||
MAIN_APPLICATION_TITLE=Force visible name of application (warning: setting your own name here may break autofill login feature when using DoliDroid mobile application)
|
MAIN_APPLICATION_TITLE=Forzar visibilidad del nombre de aplicación (advertencia: indicar su propio nombre aquí puede romper la característica de relleno automático de inicio de sesión al utilizar la aplicación móvil DoliDroid)
|
||||||
NbMajMin=Minimum number of uppercase characters
|
NbMajMin=Número mínimo de caracteres en mayúsculas
|
||||||
NbNumMin=Minimum number of numeric characters
|
NbNumMin=Número mínimo de caracteres numéricos
|
||||||
NbSpeMin=Minimum number of special characters
|
NbSpeMin=Número mínimo de caracteres especiales
|
||||||
NbIteConsecutive=Maximum number of repeating same characters
|
NbIteConsecutive=Número máximo de repeticiones de los mismos caracteres
|
||||||
NoAmbiCaracAutoGeneration=Do not use ambiguous characters ("1","l","i","|","0","O") for automatic generation
|
NoAmbiCaracAutoGeneration=No usar caracteres ambiguos ("1","l","i","|","0","O") para la generación automática
|
||||||
SalariesSetup=Setup of module salaries
|
SalariesSetup=Configuración del módulo salarios
|
||||||
SortOrder=Sort order
|
SortOrder=Ordenación
|
||||||
Format=Formatear
|
Format=Formatear
|
||||||
TypePaymentDesc=0:Pago cliente,1:Pago proveedor,2:Tanto pago de cliente como de proveedor
|
TypePaymentDesc=0:Pago cliente,1:Pago proveedor,2:Tanto pago de cliente como de proveedor
|
||||||
|
|||||||
@ -44,7 +44,7 @@ AgendaExtSitesDesc=Esta página le permite configurar calendarios externos para
|
|||||||
ActionsEvents=Eventos para que Dolibarr cree un evento en la agenda de forma automática
|
ActionsEvents=Eventos para que Dolibarr cree un evento en la agenda de forma automática
|
||||||
PropalValidatedInDolibarr=Presupuesto %s validado
|
PropalValidatedInDolibarr=Presupuesto %s validado
|
||||||
InvoiceValidatedInDolibarr=Factura %s validada
|
InvoiceValidatedInDolibarr=Factura %s validada
|
||||||
InvoiceValidatedInDolibarrFromPos=Invoice %s validated from POS
|
InvoiceValidatedInDolibarrFromPos=Factura %s validada desde TPV
|
||||||
InvoiceBackToDraftInDolibarr=Factura %s devuelta a borrador
|
InvoiceBackToDraftInDolibarr=Factura %s devuelta a borrador
|
||||||
InvoiceDeleteDolibarr=Factura %s eliminada
|
InvoiceDeleteDolibarr=Factura %s eliminada
|
||||||
OrderValidatedInDolibarr= Pedido %s validado
|
OrderValidatedInDolibarr= Pedido %s validado
|
||||||
|
|||||||
@ -217,7 +217,7 @@ NoInvoice=Ninguna factura
|
|||||||
ClassifyBill=Clasificar la factura
|
ClassifyBill=Clasificar la factura
|
||||||
SupplierBillsToPay=Facturas de proveedores a pagar
|
SupplierBillsToPay=Facturas de proveedores a pagar
|
||||||
CustomerBillsUnpaid=Facturas a clientes pendientes de cobro
|
CustomerBillsUnpaid=Facturas a clientes pendientes de cobro
|
||||||
DispenseMontantLettres=The written invoices through mecanographic procedures are dispensed by the order in letters
|
DispenseMontantLettres=Las facturas escritas a través de procedimientos mecanograficos son dispensadas por la orden en letras
|
||||||
NonPercuRecuperable=No percibido recuperable
|
NonPercuRecuperable=No percibido recuperable
|
||||||
SetConditions=Definir condiciones de pago
|
SetConditions=Definir condiciones de pago
|
||||||
SetMode=Definir modo de pago
|
SetMode=Definir modo de pago
|
||||||
|
|||||||
@ -109,4 +109,4 @@ CategoriesSetup=Configuración de categorías
|
|||||||
CategorieRecursiv=Enlazar con la categoría padre automáticamente
|
CategorieRecursiv=Enlazar con la categoría padre automáticamente
|
||||||
CategorieRecursivHelp=Si está activado, el producto se enlazará a la categoría padre si lo añadimos a una subcategoría
|
CategorieRecursivHelp=Si está activado, el producto se enlazará a la categoría padre si lo añadimos a una subcategoría
|
||||||
AddProductServiceIntoCategory=Añadir el siguiente producto/servicio
|
AddProductServiceIntoCategory=Añadir el siguiente producto/servicio
|
||||||
ShowCategory=Show category
|
ShowCategory=Mostrar categoría
|
||||||
|
|||||||
@ -108,7 +108,7 @@ ErrorWrongAccountancyCodeForCompany=Código contable incorrecto para %s
|
|||||||
SuppliersProductsSellSalesTurnover=Volumen de ventas generado por la venta de los productos de los proveedores
|
SuppliersProductsSellSalesTurnover=Volumen de ventas generado por la venta de los productos de los proveedores
|
||||||
CheckReceipt=Lista de remesas
|
CheckReceipt=Lista de remesas
|
||||||
CheckReceiptShort=Remesas
|
CheckReceiptShort=Remesas
|
||||||
LastCheckReceiptShort=Last %s check receipts
|
LastCheckReceiptShort=%s Últimas remesas
|
||||||
NewCheckReceipt=Nueva remesa
|
NewCheckReceipt=Nueva remesa
|
||||||
NewCheckDeposit=Nuevo ingreso
|
NewCheckDeposit=Nuevo ingreso
|
||||||
NewCheckDepositOn=Crear nueva remesa en la cuenta: %s
|
NewCheckDepositOn=Crear nueva remesa en la cuenta: %s
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Dolibarr language file - Source file is en_US - contracts
|
# Dolibarr language file - Source file is en_US - contracts
|
||||||
ContractsArea=Área contratos
|
ContractsArea=Área contratos
|
||||||
ListOfContracts=Listado de contratos
|
ListOfContracts=Listado de contratos
|
||||||
LastModifiedContracts=Last %s modified contracts
|
LastModifiedContracts=%s Últimos contratos modificados
|
||||||
AllContracts=Todos los contratos
|
AllContracts=Todos los contratos
|
||||||
ContractCard=Ficha contrato
|
ContractCard=Ficha contrato
|
||||||
ContractStatus=Estado del contrato
|
ContractStatus=Estado del contrato
|
||||||
@ -53,7 +53,7 @@ ListOfRunningContractsLines=Listado de líneas de contratos en servicio
|
|||||||
ListOfRunningServices=Listado de servicios activos
|
ListOfRunningServices=Listado de servicios activos
|
||||||
NotActivatedServices=Servicios no activados (con los contratos validados)
|
NotActivatedServices=Servicios no activados (con los contratos validados)
|
||||||
BoardNotActivatedServices=Servicios a activar con los contratos validados
|
BoardNotActivatedServices=Servicios a activar con los contratos validados
|
||||||
LastContracts=Last % contracts
|
LastContracts=%s Últimos contratos
|
||||||
LastActivatedServices=Los %s últimos servicios activados
|
LastActivatedServices=Los %s últimos servicios activados
|
||||||
LastModifiedServices=Los %s últimos servicios modificados
|
LastModifiedServices=Los %s últimos servicios modificados
|
||||||
EditServiceLine=Edición línea del servicio
|
EditServiceLine=Edición línea del servicio
|
||||||
|
|||||||
@ -18,7 +18,7 @@ CronExplainHowToRunUnix=En entorno Unix debes usar crontab para ejecutar el coma
|
|||||||
CronExplainHowToRunWin=En un entorno de Microsoft(tm) Windows puedes usar el programador de tareas para ejecutar el comando cada varios minutos
|
CronExplainHowToRunWin=En un entorno de Microsoft(tm) Windows puedes usar el programador de tareas para ejecutar el comando cada varios minutos
|
||||||
# Menu
|
# Menu
|
||||||
CronJobs=Tareas programadas
|
CronJobs=Tareas programadas
|
||||||
CronListActive=List of active/scheduled jobs
|
CronListActive=Listado de tareas activas/programadas
|
||||||
CronListInactive=Tareas Inactivas
|
CronListInactive=Tareas Inactivas
|
||||||
# Page list
|
# Page list
|
||||||
CronDateLastRun=Últ. ejec.
|
CronDateLastRun=Últ. ejec.
|
||||||
|
|||||||
@ -31,8 +31,8 @@ DonationRecipient=Beneficiario
|
|||||||
ThankYou=Muchas gracias
|
ThankYou=Muchas gracias
|
||||||
IConfirmDonationReception=El beneficiario confirma la recepción, como donación, de la siguiente cantidad
|
IConfirmDonationReception=El beneficiario confirma la recepción, como donación, de la siguiente cantidad
|
||||||
MinimumAmount=El importe mínimo es %s
|
MinimumAmount=El importe mínimo es %s
|
||||||
FreeTextOnDonations=Free text to show in footer
|
FreeTextOnDonations=Texto libre a mostrar a pié de página
|
||||||
FrenchOptions=Options for France
|
FrenchOptions=Opciones para Francia
|
||||||
DONATION_ART200=Show article 200 from CGI if you are concerned
|
DONATION_ART200=Mostrar artículo 200 del CGI si se está interesado
|
||||||
DONATION_ART238=Show article 238 from CGI if you are concerned
|
DONATION_ART238=Mostrar artículo 238 del CGI si se está interesado
|
||||||
DONATION_ART885=Show article 885 from CGI if you are concerned
|
DONATION_ART885=Mostrar artículo 885 del CGI si se está interesado
|
||||||
|
|||||||
@ -138,6 +138,24 @@ ErrorMemberNotLinkedToAThirpartyLinkOrCreateFirst=Error, este miembro aún no es
|
|||||||
ErrorThereIsSomeDeliveries=Error, hay entregas vinculadas a este envío. No se puede eliminar.
|
ErrorThereIsSomeDeliveries=Error, hay entregas vinculadas a este envío. No se puede eliminar.
|
||||||
ErrorCantDeletePaymentReconciliated=No se puede eliminar un pago que ha generado una transacción bancaria que se encuentra conciliada
|
ErrorCantDeletePaymentReconciliated=No se puede eliminar un pago que ha generado una transacción bancaria que se encuentra conciliada
|
||||||
ErrorCantDeletePaymentSharedWithPayedInvoice=No se puede eliminar un pago de varias factura con alguna factura con estado Pagada
|
ErrorCantDeletePaymentSharedWithPayedInvoice=No se puede eliminar un pago de varias factura con alguna factura con estado Pagada
|
||||||
|
ErrorPriceExpression1=No se puede asignar a la constante '%s'
|
||||||
|
ErrorPriceExpression2=No se puede redefinir la función incorporada '%s'
|
||||||
|
ErrorPriceExpression3=Variable '%s' no definida en la definición de la función
|
||||||
|
ErrorPriceExpression4=Carácter '%s' ilegal
|
||||||
|
ErrorPriceExpression5=No se esperaba '%s'
|
||||||
|
ErrorPriceExpression6=Número de argumentos inadecuados (%s dados, %s esperados)
|
||||||
|
ErrorPriceExpression8=Operador '%s' no esperado
|
||||||
|
ErrorPriceExpression9=Ha ocurrido un error no esperado
|
||||||
|
ErrorPriceExpression10=Operador '%s' carece de operando
|
||||||
|
ErrorPriceExpression11=Se esperaba '%s'
|
||||||
|
ErrorPriceExpression14=División por cero
|
||||||
|
ErrorPriceExpression17=Variable '%s' indefinida
|
||||||
|
ErrorPriceExpression19=Expresión no encontrada
|
||||||
|
ErrorPriceExpression20=Expresión vacía
|
||||||
|
ErrorPriceExpression21=Resultado '%s' vacío
|
||||||
|
ErrorPriceExpression22=Resultado '%s' negativo
|
||||||
|
ErrorPriceExpressionInternal=Error interno '%s'
|
||||||
|
ErrorPriceExpressionUnknown=Error desconocido '%s'
|
||||||
|
|
||||||
# Warnings
|
# Warnings
|
||||||
WarningMandatorySetupNotComplete=Los parámetros obligatorios de configuración no están todavía definidos
|
WarningMandatorySetupNotComplete=Los parámetros obligatorios de configuración no están todavía definidos
|
||||||
|
|||||||
@ -2,4 +2,4 @@
|
|||||||
ExternalSiteSetup=Configuración del enlace al sitio web externo
|
ExternalSiteSetup=Configuración del enlace al sitio web externo
|
||||||
ExternalSiteURL=URL del sitio externo
|
ExternalSiteURL=URL del sitio externo
|
||||||
ExternalSiteModuleNotComplete=El módulo Sitio web externo no ha sido configurado correctamente.
|
ExternalSiteModuleNotComplete=El módulo Sitio web externo no ha sido configurado correctamente.
|
||||||
ExampleMyMenuEntry=My menu entry
|
ExampleMyMenuEntry=Mi entrada de menú
|
||||||
|
|||||||
@ -31,14 +31,14 @@ RelatedInterventions=Intervenciones adjuntas
|
|||||||
ShowIntervention=Mostrar intervención
|
ShowIntervention=Mostrar intervención
|
||||||
SendInterventionRef=Envío de la intervención %s
|
SendInterventionRef=Envío de la intervención %s
|
||||||
SendInterventionByMail=Enviar intervención por e-mail
|
SendInterventionByMail=Enviar intervención por e-mail
|
||||||
InterventionCreatedInDolibarr=Intervention %s created
|
InterventionCreatedInDolibarr=Intervención %s creada
|
||||||
InterventionValidatedInDolibarr=Intervention %s validated
|
InterventionValidatedInDolibarr=Intervención %s validada
|
||||||
InterventionModifiedInDolibarr=Intervention %s modified
|
InterventionModifiedInDolibarr=Intervención %s modificada
|
||||||
InterventionClassifiedBilledInDolibarr=Intervention %s set as billed
|
InterventionClassifiedBilledInDolibarr=Intervención %s clasificada como facturada
|
||||||
InterventionClassifiedUnbilledInDolibarr=Intervention %s set as unbilled
|
InterventionClassifiedUnbilledInDolibarr=Intervención %s clasificada como no facturada
|
||||||
InterventionSentByEMail=Intervention %s sent by EMail
|
InterventionSentByEMail=Intervención %s enviada por E-Mail
|
||||||
InterventionDeletedInDolibarr=Intervention %s deleted
|
InterventionDeletedInDolibarr=Intervención %s eliminada
|
||||||
SearchAnIntervention=Search an intervention
|
SearchAnIntervention=Buscar una intervención
|
||||||
##### Types de contacts #####
|
##### Types de contacts #####
|
||||||
TypeContact_fichinter_internal_INTERREPFOLL=Responsable seguimiento de la intervención
|
TypeContact_fichinter_internal_INTERREPFOLL=Responsable seguimiento de la intervención
|
||||||
TypeContact_fichinter_internal_INTERVENING=Interventor
|
TypeContact_fichinter_internal_INTERVENING=Interventor
|
||||||
|
|||||||
@ -115,7 +115,7 @@ SentBy=Enviado por
|
|||||||
MailingNeedCommand=Por razones de seguridad, el envío de un E-Mailing en masa debe realizarse en línea de comandos. Pida a su administrador que lance el comando siguiente para para enviar la correspondencia a a todos los destinatarios:
|
MailingNeedCommand=Por razones de seguridad, el envío de un E-Mailing en masa debe realizarse en línea de comandos. Pida a su administrador que lance el comando siguiente para para enviar la correspondencia a a todos los destinatarios:
|
||||||
MailingNeedCommand2=Puede enviar en línea añadiendo el parámetro MAILING_LIMIT_SENDBYWEB con un valor numérico que indica el máximo nº de e-mails a enviar por sesión. Para ello vaya a Inicio - Configuración - Varios.
|
MailingNeedCommand2=Puede enviar en línea añadiendo el parámetro MAILING_LIMIT_SENDBYWEB con un valor numérico que indica el máximo nº de e-mails a enviar por sesión. Para ello vaya a Inicio - Configuración - Varios.
|
||||||
ConfirmSendingEmailing=¿Confirma el envío del e-mailing?
|
ConfirmSendingEmailing=¿Confirma el envío del e-mailing?
|
||||||
LimitSendingEmailing=Note: Sending of emailings from web interface is done in several times for security and timeout reasons, <b>%s</b> recipients at a time for each sending session.
|
LimitSendingEmailing=Nota: El envío de e-mailings desde la interfaz web se realiza en tandas por razones de seguridad y timeouts, se enviarán a <b>%s</b> destinatarios por tanda.
|
||||||
TargetsReset=Vaciar lista
|
TargetsReset=Vaciar lista
|
||||||
ToClearAllRecipientsClickHere=Para vaciar la lista de los destinatarios de este E-Mailing, haga click en el botón
|
ToClearAllRecipientsClickHere=Para vaciar la lista de los destinatarios de este E-Mailing, haga click en el botón
|
||||||
ToAddRecipientsChooseHere=Para añadir destinatarios, escoja los que figuran en las listas a continuación
|
ToAddRecipientsChooseHere=Para añadir destinatarios, escoja los que figuran en las listas a continuación
|
||||||
@ -136,6 +136,6 @@ SomeNotificationsWillBeSent=%s notificaciones van a ser enviadas por e-mail
|
|||||||
AddNewNotification=Activar un nuevo destinatario de notificaciones
|
AddNewNotification=Activar un nuevo destinatario de notificaciones
|
||||||
ListOfActiveNotifications=Listado de todos los destinatarios de notificaciones
|
ListOfActiveNotifications=Listado de todos los destinatarios de notificaciones
|
||||||
ListOfNotificationsDone=Listado de notificaciones enviadas
|
ListOfNotificationsDone=Listado de notificaciones enviadas
|
||||||
MailSendSetupIs=Configuration of email sending has been setup to '%s'. This mode can't be used to send mass emailing.
|
MailSendSetupIs=La configuración de e-mailings está a '%s'. Este modo no puede ser usado para enviar e-mails masivos.
|
||||||
MailSendSetupIs2=You must first go, with an admin account, into menu %sHome - Setup - EMails%s to change parameter <strong>'%s'</strong> to use mode '%s'. With this mode, you can enter setup of the SMTP server provided by your Internet Service Provider and use Mass emailing feature.
|
MailSendSetupIs2=Antes debe, con una cuenta de administrador, en el menú %sInicio - Configuración - E-Mails%s, cambiar el parámetro <strong>'%s'</strong> para usar el modo '%s'. Con este modo puede configurar un servidor SMTP de su proveedor de servicios de internet.
|
||||||
MailSendSetupIs3=If you have any questions on how to setup your SMTP server, you can ask to %s.
|
MailSendSetupIs3=Si tiene preguntas de como configurar su servidor SMTP, puede contactar con %s.
|
||||||
|
|||||||
@ -367,7 +367,7 @@ ActionsOnCompany=Eventos respecto a este tercero
|
|||||||
ActionsOnMember=Eventos respecto a este miembro
|
ActionsOnMember=Eventos respecto a este miembro
|
||||||
NActions=%s eventos
|
NActions=%s eventos
|
||||||
NActionsLate=%s en retraso
|
NActionsLate=%s en retraso
|
||||||
RequestAlreadyDone=Request already recorded
|
RequestAlreadyDone=Solicitud ya registrada
|
||||||
Filter=Filtro
|
Filter=Filtro
|
||||||
RemoveFilter=Eliminar filtro
|
RemoveFilter=Eliminar filtro
|
||||||
ChartGenerated=Gráficos generados
|
ChartGenerated=Gráficos generados
|
||||||
|
|||||||
@ -41,4 +41,4 @@ AgentContactType=Tipo de contacto comisionado
|
|||||||
AgentContactTypeDetails=Indique qué tipo de contacto (enlazado a las facturas) será el utilizado para el informe de márgenes de agentes comerciales
|
AgentContactTypeDetails=Indique qué tipo de contacto (enlazado a las facturas) será el utilizado para el informe de márgenes de agentes comerciales
|
||||||
rateMustBeNumeric=El margen debe ser un valor numérico
|
rateMustBeNumeric=El margen debe ser un valor numérico
|
||||||
markRateShouldBeLesserThan100=El margen tiene que ser menor que 100
|
markRateShouldBeLesserThan100=El margen tiene que ser menor que 100
|
||||||
ShowMarginInfos=Show margin infos
|
ShowMarginInfos=Mostrar info de márgenes
|
||||||
|
|||||||
@ -203,3 +203,4 @@ MembersByNature=Miembros por naturaleza
|
|||||||
VATToUseForSubscriptions=Tasa de IVA para las afiliaciones
|
VATToUseForSubscriptions=Tasa de IVA para las afiliaciones
|
||||||
NoVatOnSubscription=Sin IVA para en las afiliaciones
|
NoVatOnSubscription=Sin IVA para en las afiliaciones
|
||||||
MEMBER_PAYONLINE_SENDEMAIL=E-Mail para advertir en caso de recepción de confirmación de un pago validado de una afiliación
|
MEMBER_PAYONLINE_SENDEMAIL=E-Mail para advertir en caso de recepción de confirmación de un pago validado de una afiliación
|
||||||
|
ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS=Producto usado para las suscripciones en línea en facturas: %s
|
||||||
|
|||||||
@ -53,7 +53,7 @@ ShippingExist=Existe una expedición
|
|||||||
DraftOrWaitingApproved=Borrador o aprobado aún no controlado
|
DraftOrWaitingApproved=Borrador o aprobado aún no controlado
|
||||||
DraftOrWaitingShipped=Borrador o validado aún no expedido
|
DraftOrWaitingShipped=Borrador o validado aún no expedido
|
||||||
MenuOrdersToBill=Pedidos a facturar
|
MenuOrdersToBill=Pedidos a facturar
|
||||||
MenuOrdersToBill2=Billable orders
|
MenuOrdersToBill2=Pedidos facturables
|
||||||
SearchOrder=Buscar un pedido
|
SearchOrder=Buscar un pedido
|
||||||
SearchACustomerOrder=Buscar un pedido de cliente
|
SearchACustomerOrder=Buscar un pedido de cliente
|
||||||
ShipProduct=Enviar producto
|
ShipProduct=Enviar producto
|
||||||
|
|||||||
@ -203,26 +203,26 @@ ForgetIfNothing=Si usted no ha solicitado este cambio, simplemente ignore este e
|
|||||||
|
|
||||||
##### Calendar common #####
|
##### Calendar common #####
|
||||||
AddCalendarEntry=Añadir entrada en el calendario
|
AddCalendarEntry=Añadir entrada en el calendario
|
||||||
NewCompanyToDolibarr=Company %s added
|
NewCompanyToDolibarr=Empresa %s añadida
|
||||||
ContractValidatedInDolibarr=Contract %s validated
|
ContractValidatedInDolibarr=Contrato %s validado
|
||||||
ContractCanceledInDolibarr=Contract %s canceled
|
ContractCanceledInDolibarr=Contrato %s cancelado
|
||||||
ContractClosedInDolibarr=Contract %s closed
|
ContractClosedInDolibarr=Contrato %s cerrado
|
||||||
PropalClosedSignedInDolibarr=Proposal %s signed
|
PropalClosedSignedInDolibarr=Presupuesto %s firmado
|
||||||
PropalClosedRefusedInDolibarr=Proposal %s refused
|
PropalClosedRefusedInDolibarr=Presupuesto %s rechazado
|
||||||
PropalValidatedInDolibarr=Proposal %s validated
|
PropalValidatedInDolibarr=Presupuesto %s validado
|
||||||
PropalClassifiedBilledInDolibarr=Proposal %s classified billed
|
PropalClassifiedBilledInDolibarr=Presupuesto %s clasificado facturado
|
||||||
InvoiceValidatedInDolibarr=Invoice %s validated
|
InvoiceValidatedInDolibarr=Factura %s validada
|
||||||
InvoicePaidInDolibarr=Invoice %s changed to paid
|
InvoicePaidInDolibarr=Factura %s pasada a pagada
|
||||||
InvoiceCanceledInDolibarr=Invoice %s canceled
|
InvoiceCanceledInDolibarr=Factura %s cancelada
|
||||||
PaymentDoneInDolibarr=Payment %s done
|
PaymentDoneInDolibarr=Pago %s realizado
|
||||||
CustomerPaymentDoneInDolibarr=Customer payment %s done
|
CustomerPaymentDoneInDolibarr=Pago de cliente %s realizado
|
||||||
SupplierPaymentDoneInDolibarr=Supplier payment %s done
|
SupplierPaymentDoneInDolibarr=Pago a proveedor %s realizado
|
||||||
MemberValidatedInDolibarr=Member %s validated
|
MemberValidatedInDolibarr=Miembro %s validado
|
||||||
MemberResiliatedInDolibarr=Member %s resiliated
|
MemberResiliatedInDolibarr=Miembro %s dado de baja
|
||||||
MemberDeletedInDolibarr=Member %s deleted
|
MemberDeletedInDolibarr=Miembro %s eliminado
|
||||||
MemberSubscriptionAddedInDolibarr=Subscription for member %s added
|
MemberSubscriptionAddedInDolibarr=Subscripción del miembro %s añadida
|
||||||
ShipmentValidatedInDolibarr=Shipment %s validated
|
ShipmentValidatedInDolibarr=Expedición %s validada
|
||||||
ShipmentDeletedInDolibarr=Shipment %s deleted
|
ShipmentDeletedInDolibarr=Expedición %s eliminada
|
||||||
##### Export #####
|
##### Export #####
|
||||||
Export=Exportación
|
Export=Exportación
|
||||||
ExportsArea=Área de exportaciones
|
ExportsArea=Área de exportaciones
|
||||||
|
|||||||
@ -35,6 +35,6 @@ MessageKO=Mensaje en la página de retorno de pago cancelado
|
|||||||
NewPayboxPaymentReceived=Nuevo pago Paybox recibido
|
NewPayboxPaymentReceived=Nuevo pago Paybox recibido
|
||||||
NewPayboxPaymentFailed=Nuevo intento de pago Paybox sin éxito
|
NewPayboxPaymentFailed=Nuevo intento de pago Paybox sin éxito
|
||||||
PAYBOX_PAYONLINE_SENDEMAIL=E-Mail a avisar en caso de pago (con éxito o no)
|
PAYBOX_PAYONLINE_SENDEMAIL=E-Mail a avisar en caso de pago (con éxito o no)
|
||||||
PAYBOX_PBX_SITE=Value for PBX SITE
|
PAYBOX_PBX_SITE=Valor para PBX SITE
|
||||||
PAYBOX_PBX_RANG=Value for PBX Rang
|
PAYBOX_PBX_RANG=valor para PBX Rang
|
||||||
PAYBOX_PBX_IDENTIFIANT=Value for PBX ID
|
PAYBOX_PBX_IDENTIFIANT=Valor para PBX ID
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
# Dolibarr language file - Source file is en_US - printipp
|
# Dolibarr language file - Source file is en_US - printipp
|
||||||
PrintIPPSetup=Configuración del módulo Impresión directa IPP
|
PrintIPPSetup=Configuración del módulo Impresión Directa
|
||||||
PrintIPPDesc=Este módulo permite añadir un botón de impresión directa de sus documentos hacia su impresora. Se requiere un sistema Linux equipado con Cups.
|
PrintIPPDesc=Este módulo añade un botón para enviar documentos directamente a una impresora. Es necesario un SO Linux con CUPS instalado.
|
||||||
PRINTIPP_ENABLED=Muestra el logo "Impresión directa" en los listados de documentos
|
PRINTIPP_ENABLED=Mostrar icono "Impresión directa" en los listados de documentos
|
||||||
PRINTIPP_HOST=Servidor de impresión
|
PRINTIPP_HOST=Servidor de impresión
|
||||||
PRINTIPP_PORT=Puerto
|
PRINTIPP_PORT=Puerto
|
||||||
PRINTIPP_USER=Login
|
PRINTIPP_USER=Usuario
|
||||||
PRINTIPP_PASSWORD=Contraseña
|
PRINTIPP_PASSWORD=Contraseña
|
||||||
NoPrinterFound=No se ha encontrado ninguna impresora (compruebe su configuración Cups)
|
NoPrinterFound=No se han encontrado impresoras (Compruebe la configuración de su CUPS)
|
||||||
|
|||||||
19
htdocs/langs/es_ES/productbatch.lang
Normal file
19
htdocs/langs/es_ES/productbatch.lang
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# ProductBATCH language file - en_US - ProductBATCH
|
||||||
|
ManageLotSerial=Gestionar lotes/series
|
||||||
|
ProductStatusOnBatch=Gestionado
|
||||||
|
ProductStatusNotOnBatch=No gestionado
|
||||||
|
ProductStatusOnBatchShort=Gestionado
|
||||||
|
ProductStatusNotOnBatchShort=No gestionado
|
||||||
|
Batch=Lote/Serie
|
||||||
|
atleast1batchfield=Fecha de caducidad o Fecha de venta o Lote
|
||||||
|
batch_number=Número Lote/Serie
|
||||||
|
l_eatby=Fecha de caducidad
|
||||||
|
l_sellby=Fecha límite de venta
|
||||||
|
DetailBatchNumber=Detalles del lote/serie
|
||||||
|
DetailBatchFormat=Caducidad: %s Límite venta: %s LOTE: %s (Stock : %d)
|
||||||
|
printBatch=Lote: %s
|
||||||
|
printEatby=Caducidad: %s
|
||||||
|
printSellby=Límite venta: %s
|
||||||
|
printQty=Cant.: %d
|
||||||
|
AddDispatchBatchLine=Añada una línea para despacho por caducidad
|
||||||
|
BatchDefaultNumber=Indefinido
|
||||||
@ -242,3 +242,8 @@ ForceUpdateChildPriceSoc=Establecer el mismo precio en las filiales de los clien
|
|||||||
PriceByCustomerLog=Log de precios por clientes
|
PriceByCustomerLog=Log de precios por clientes
|
||||||
MinimumPriceLimit=El precio mínimo no puede ser menor de %s
|
MinimumPriceLimit=El precio mínimo no puede ser menor de %s
|
||||||
MinimumRecommendedPrice=El precio mínimo recomendado es: %s
|
MinimumRecommendedPrice=El precio mínimo recomendado es: %s
|
||||||
|
PriceExpressionEditor=Editor de expresión de precios
|
||||||
|
PriceExpressionSelected=Expresión de precios seleccionada
|
||||||
|
PriceExpressionEditorHelp="price = 2 + 2" o "2 + 2" para indicar el precio<br>ExtraFields son variables como "#options_myextrafieldkey# * 2"<br>Existen variables especiales como #quantity# y #tva_tx#<br>Use ; para separar expresiones
|
||||||
|
PriceMode=Modo precio
|
||||||
|
PriceNumeric=Número
|
||||||
|
|||||||
@ -1,36 +1,36 @@
|
|||||||
|
|
||||||
MenuResourceIndex=Resources
|
MenuResourceIndex=Recursos
|
||||||
MenuResourceAdd=New resource
|
MenuResourceAdd=Nuevo recurso
|
||||||
MenuResourcePlanning=Resource planning
|
MenuResourcePlanning=Planificación de recursos
|
||||||
DeleteResource=Delete resource
|
DeleteResource=Eliminar recurso
|
||||||
ConfirmDeleteResourceElement=Confirm delete the resource for this element
|
ConfirmDeleteResourceElement=¿Está seguro de querer eliminar el recurso de este elemento?
|
||||||
NoResourceInDatabase=No resource in database.
|
NoResourceInDatabase=Sin recursos en la base de datos.
|
||||||
NoResourceLinked=No resource linked
|
NoResourceLinked=Sin recursos enlazados
|
||||||
|
|
||||||
ResourcePageIndex=Resources list
|
ResourcePageIndex=Listado de recursos
|
||||||
ResourceSingular=Resource
|
ResourceSingular=Recurso
|
||||||
ResourceCard=Resource card
|
ResourceCard=Ficha recurso
|
||||||
AddResource=Create a resource
|
AddResource=Crear un recurso
|
||||||
ResourceFormLabel_ref=Resource name
|
ResourceFormLabel_ref=Nombre recurso
|
||||||
ResourceType=Resource type
|
ResourceType=Tipo de recurso
|
||||||
ResourceFormLabel_description=Resource description
|
ResourceFormLabel_description=Descripción recurso
|
||||||
|
|
||||||
ResourcesLinkedToElement=Resources linked to element
|
ResourcesLinkedToElement=Recursos enlazados a elemento
|
||||||
|
|
||||||
ShowResourcePlanning=Show resource planning
|
ShowResourcePlanning=Ver planificación de recursos
|
||||||
GotoDate=Go to date
|
GotoDate=Ir a fecha
|
||||||
|
|
||||||
ResourceElementPage=Element resources
|
ResourceElementPage=Elementos de recursos
|
||||||
ResourceCreatedWithSuccess=Resource successfully created
|
ResourceCreatedWithSuccess=Recurso creado correctamente
|
||||||
RessourceLineSuccessfullyDeleted=Resource line successfully deleted
|
RessourceLineSuccessfullyDeleted=Línea de recurso eliminada correctamente
|
||||||
RessourceLineSuccessfullyUpdated=Resource line successfully updated
|
RessourceLineSuccessfullyUpdated=Línea de recurso actualizada correctamente
|
||||||
ResourceLinkedWithSuccess=Resource linked with success
|
ResourceLinkedWithSuccess=Recurso enlazado correctamente
|
||||||
|
|
||||||
TitleResourceCard=Resource card
|
TitleResourceCard=Ficha recurso
|
||||||
ConfirmDeleteResource=Confirm to delete this resource
|
ConfirmDeleteResource=¿Está seguro de querer eliminar este recurso?
|
||||||
RessourceSuccessfullyDeleted=Resource successfully deleted
|
RessourceSuccessfullyDeleted=Recurso eliminado correctamente
|
||||||
DictionaryResourceType=Type of resources
|
DictionaryResourceType=Tipo de recursos
|
||||||
|
|
||||||
DictionaryEMailTemplates=Modèles d'Emails
|
DictionaryEMailTemplates=Modelo de E-Mails
|
||||||
|
|
||||||
SelectResource=Select resource
|
SelectResource=Seleccionar recurso
|
||||||
|
|||||||
@ -61,8 +61,8 @@ ShipmentCreationIsDoneFromOrder=De momento, la creación de una nueva expedició
|
|||||||
RelatedShippings=Expedición(es) asociada(s)
|
RelatedShippings=Expedición(es) asociada(s)
|
||||||
ShipmentLine=Línea de expedición
|
ShipmentLine=Línea de expedición
|
||||||
CarrierList=Listado de transportistas
|
CarrierList=Listado de transportistas
|
||||||
SendingRunning=Product from customer order already sent
|
SendingRunning=Ya ha sido enviado el producto del pedido de cliente
|
||||||
SuppliersReceiptRunning=Product from supplier order already received
|
SuppliersReceiptRunning=Ya ha sido recibido el producto del pedido a proveedor
|
||||||
|
|
||||||
# Sending methods
|
# Sending methods
|
||||||
SendingMethodCATCH=Recogido por el cliente
|
SendingMethodCATCH=Recogido por el cliente
|
||||||
|
|||||||
@ -23,7 +23,7 @@ ErrorWarehouseLabelRequired=La etiqueta del almacén es obligatoria
|
|||||||
CorrectStock=Corregir stock
|
CorrectStock=Corregir stock
|
||||||
ListOfWarehouses=Listado de almacenes
|
ListOfWarehouses=Listado de almacenes
|
||||||
ListOfStockMovements=Listado de movimientos de stock
|
ListOfStockMovements=Listado de movimientos de stock
|
||||||
StocksArea=Warehouses area
|
StocksArea=Área almacenes
|
||||||
Location=Lugar
|
Location=Lugar
|
||||||
LocationSummary=Nombre corto del lugar
|
LocationSummary=Nombre corto del lugar
|
||||||
NumberOfDifferentProducts=Número de productos diferentes
|
NumberOfDifferentProducts=Número de productos diferentes
|
||||||
|
|||||||
@ -102,7 +102,7 @@ UserDisabled=Usuario %s deshailitado
|
|||||||
UserEnabled=Usuario %s activado
|
UserEnabled=Usuario %s activado
|
||||||
UserDeleted=Usuario %s eliminado
|
UserDeleted=Usuario %s eliminado
|
||||||
NewGroupCreated=Grupo %s creado
|
NewGroupCreated=Grupo %s creado
|
||||||
GroupModified=Group %s modified
|
GroupModified=Grupo %s modificado
|
||||||
GroupDeleted=Grupo %s eliminado
|
GroupDeleted=Grupo %s eliminado
|
||||||
ConfirmCreateContact=¿Está seguro de querer crear una cuenta Dolibarr para este contacto?
|
ConfirmCreateContact=¿Está seguro de querer crear una cuenta Dolibarr para este contacto?
|
||||||
ConfirmCreateLogin=¿Está seguro de que desea crear una cuenta Dolibarr para este miembro?
|
ConfirmCreateLogin=¿Está seguro de que desea crear una cuenta Dolibarr para este miembro?
|
||||||
|
|||||||
@ -16,7 +16,7 @@ WithdrawedBills=Facturas domiciliadas
|
|||||||
WithdrawalsLines=Lineas de domiciliación
|
WithdrawalsLines=Lineas de domiciliación
|
||||||
RequestStandingOrderToTreat=Peticiones de domiciliaciones a procesar
|
RequestStandingOrderToTreat=Peticiones de domiciliaciones a procesar
|
||||||
RequestStandingOrderTreated=Peticiones de domiciliaciones procesadas
|
RequestStandingOrderTreated=Peticiones de domiciliaciones procesadas
|
||||||
NotPossibleForThisStatusOfWithdrawReceiptORLine=Not yet possible. Withdraw status must be set to 'credited' before declaring reject on specific lines.
|
NotPossibleForThisStatusOfWithdrawReceiptORLine=Todavía no es posible. El estado de la domiciliación debe ser 'abonada' antes de poder realizar devoluciones a sus líneas
|
||||||
CustomersStandingOrders=Domiciliaciones de clientes
|
CustomersStandingOrders=Domiciliaciones de clientes
|
||||||
CustomerStandingOrder=Domiciliación cliente
|
CustomerStandingOrder=Domiciliación cliente
|
||||||
NbOfInvoiceToWithdraw=Nº de facturas pendientes de domiciliación
|
NbOfInvoiceToWithdraw=Nº de facturas pendientes de domiciliación
|
||||||
@ -47,7 +47,7 @@ RefusedData=Fecha de devolución
|
|||||||
RefusedReason=Motivo de devolución
|
RefusedReason=Motivo de devolución
|
||||||
RefusedInvoicing=Facturación de la devolución
|
RefusedInvoicing=Facturación de la devolución
|
||||||
NoInvoiceRefused=No facturar la devolución
|
NoInvoiceRefused=No facturar la devolución
|
||||||
InvoiceRefused=Invoice refused (Charge the rejection to customer)
|
InvoiceRefused=Factura rechazada (Cargar los gastos al cliente)
|
||||||
Status=Estado
|
Status=Estado
|
||||||
StatusUnknown=Desconocido
|
StatusUnknown=Desconocido
|
||||||
StatusWaiting=En espera
|
StatusWaiting=En espera
|
||||||
@ -76,7 +76,7 @@ WithBankUsingRIB=Para las cuentas bancarias que utilizan CCC
|
|||||||
WithBankUsingBANBIC=Para las cuentas bancarias que utilizan el código BAN/BIC/SWIFT
|
WithBankUsingBANBIC=Para las cuentas bancarias que utilizan el código BAN/BIC/SWIFT
|
||||||
BankToReceiveWithdraw=Cuenta bancaria receptora de las domiciliaciones
|
BankToReceiveWithdraw=Cuenta bancaria receptora de las domiciliaciones
|
||||||
CreditDate=Abonada el
|
CreditDate=Abonada el
|
||||||
WithdrawalFileNotCapable=Unable to generate withdrawal receipt file for your country %s (Your country is not supported)
|
WithdrawalFileNotCapable=No es posible generar el fichero bancario de domiciliación para el país %s (El país no está soportado)
|
||||||
ShowWithdraw=Ver domiciliación
|
ShowWithdraw=Ver domiciliación
|
||||||
IfInvoiceNeedOnWithdrawPaymentWontBeClosed=Sin embargo, si la factura tiene pendiente algún pago por domiciliación, no será cerrada para permitir la gestión de la domiciliación.
|
IfInvoiceNeedOnWithdrawPaymentWontBeClosed=Sin embargo, si la factura tiene pendiente algún pago por domiciliación, no será cerrada para permitir la gestión de la domiciliación.
|
||||||
DoStandingOrdersBeforePayments=Esta pestaña le permite realizar una petición de domiciliación. Una vez terminada, puede ingresar el pago en la factura para proceder a su cierre.
|
DoStandingOrdersBeforePayments=Esta pestaña le permite realizar una petición de domiciliación. Una vez terminada, puede ingresar el pago en la factura para proceder a su cierre.
|
||||||
|
|||||||
@ -10,7 +10,7 @@ batch_number= Numéro de lot
|
|||||||
l_eatby= DLC
|
l_eatby= DLC
|
||||||
l_sellby= DLUO
|
l_sellby= DLUO
|
||||||
DetailBatchNumber= Détails des lots
|
DetailBatchNumber= Détails des lots
|
||||||
DetailBatchFormat= C:%s UO: %s LOT: %s (Qté : %d)
|
DetailBatchFormat= Lot/Serie: %s - C:%s - UO: %s (Qté : %d)
|
||||||
printBatch= Lot: %s
|
printBatch= Lot: %s
|
||||||
printEatby= DLC: %s
|
printEatby= DLC: %s
|
||||||
printSellby= DLUO: %s
|
printSellby= DLUO: %s
|
||||||
|
|||||||
@ -1122,7 +1122,7 @@ else
|
|||||||
|
|
||||||
// Batch number managment
|
// Batch number managment
|
||||||
if ($conf->productbatch->enabled) {
|
if ($conf->productbatch->enabled) {
|
||||||
print '<tr><td>'.$langs->trans("ManageLotSerial").'</td><td colspan="2">';
|
print '<tr><td>'.$langs->trans("ManageLotSerial").'</td><td colspan="3">';
|
||||||
$statutarray=array('0' => $langs->trans("ProductStatusNotOnBatch"), '1' => $langs->trans("ProductStatusOnBatch"));
|
$statutarray=array('0' => $langs->trans("ProductStatusNotOnBatch"), '1' => $langs->trans("ProductStatusOnBatch"));
|
||||||
print $form->selectarray('status_batch',$statutarray,$object->status_batch);
|
print $form->selectarray('status_batch',$statutarray,$object->status_batch);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user