Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
a11e4b5124
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@ htdocs/conf/conf.php.old
|
|||||||
documents/
|
documents/
|
||||||
custom/
|
custom/
|
||||||
custom2/
|
custom2/
|
||||||
|
test/
|
||||||
nbproject
|
nbproject
|
||||||
default.properties
|
default.properties
|
||||||
.settings/
|
.settings/
|
||||||
|
|||||||
@ -1224,15 +1224,15 @@ class BonPrelevement extends CommonObject
|
|||||||
$esaeb19->configuraPresentador($this->numero_national_emetteur,$conf->global->ESAEB_SUFIX_PRESENTADOR,$this->raison_sociale,$this->emetteur_code_banque,$this->emetteur_code_guichet);
|
$esaeb19->configuraPresentador($this->numero_national_emetteur,$conf->global->ESAEB_SUFIX_PRESENTADOR,$this->raison_sociale,$this->emetteur_code_banque,$this->emetteur_code_guichet);
|
||||||
$idOrdenante = $esaeb19->agregaOrdenante($this->numero_national_emetteur,$conf->global->ESAEB_SUFIX_ORDENANTE,$this->raison_sociale,$this->emetteur_code_banque,$this->emetteur_code_guichet, $this->emetteur_number_key, $this->emetteur_numero_compte);
|
$idOrdenante = $esaeb19->agregaOrdenante($this->numero_national_emetteur,$conf->global->ESAEB_SUFIX_ORDENANTE,$this->raison_sociale,$this->emetteur_code_banque,$this->emetteur_code_guichet, $this->emetteur_number_key, $this->emetteur_numero_compte);
|
||||||
$this->total = 0;
|
$this->total = 0;
|
||||||
$sql = "SELECT pl.rowid, pl.client_nom, pl.code_banque, pl.code_guichet, pl.cle_rib, pl.number, pl.amount,";
|
$sql = "SELECT pl.rowid, pl.fk_soc, pl.client_nom, pl.code_banque, pl.code_guichet, pl.cle_rib, pl.number, pl.amount,";
|
||||||
$sql.= " f.facnumber, pf.fk_facture";
|
$sql.= " f.facnumber, pf.fk_facture";
|
||||||
$sql.= " FROM";
|
$sql.= " FROM";
|
||||||
$sql.= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,";
|
$sql.= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,";
|
||||||
$sql.= " ".MAIN_DB_PREFIX."facture as f,";
|
$sql.= " ".MAIN_DB_PREFIX."facture as f,";
|
||||||
$sql.= " ".MAIN_DB_PREFIX."prelevement_facture as pf";
|
$sql.= " ".MAIN_DB_PREFIX."prelevement_facture as pf";
|
||||||
$sql.= " WHERE pl.fk_prelevement_bons = ".$this->id;
|
$sql.= " WHERE pl.fk_prelevement_bons = ".$this->id;
|
||||||
$sql.= " AND pl.rowid = pf.fk_prelevement_lignes";
|
$sql.= " AND pl.rowid = pf.fk_prelevement_lignes";
|
||||||
$sql.= " AND pf.fk_facture = f.rowid";
|
$sql.= " AND pf.fk_facture = f.rowid";
|
||||||
|
|
||||||
//Lines
|
//Lines
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@ -1241,13 +1241,16 @@ class BonPrelevement extends CommonObject
|
|||||||
{
|
{
|
||||||
$num = $this->db->num_rows($resql);
|
$num = $this->db->num_rows($resql);
|
||||||
|
|
||||||
|
$client = new Societe($this->db);
|
||||||
|
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$obj = $this->db->fetch_object($resql);
|
$obj = $this->db->fetch_object($resql);
|
||||||
|
$client->fetch($obj->fk_soc);
|
||||||
|
|
||||||
$esaeb19->agregaRecibo(
|
$esaeb19->agregaRecibo(
|
||||||
$idOrdenante,
|
$idOrdenante,
|
||||||
"idcliente".$i+1,
|
$client->idprof1,
|
||||||
$obj->client_nom,
|
$obj->client_nom,
|
||||||
$obj->code_banque,
|
$obj->code_banque,
|
||||||
$obj->code_guichet,
|
$obj->code_guichet,
|
||||||
|
|||||||
30
htdocs/install/mysql/tables/llx_event_element.sql
Normal file
30
htdocs/install/mysql/tables/llx_event_element.sql
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
-- ============================================================================
|
||||||
|
-- Copyright (C) 2008-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2011 Regis Houssin <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2012 Philippe Grand <philippe.grand@atoo-net.com>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
--
|
||||||
|
-- ============================================================================
|
||||||
|
-- Table used for multi-user event
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
create table llx_event_element
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
fk_source integer NOT NULL,
|
||||||
|
fk_target integer NOT NULL,
|
||||||
|
targettype varchar(32) NOT NULL
|
||||||
|
) ENGINE=innodb;
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ ChooseYourSetupMode=Elija su método de instalación y haga clic en "Empezar"...
|
|||||||
FreshInstall=Primera instalación
|
FreshInstall=Primera instalación
|
||||||
FreshInstallDesc=Utilizar este método si es su primera instalación. Si no es el caso, este método puede reparar una instalación anterior incompleta, pero si quiere actualizar una versión anterior, escoja el método "Actualización".
|
FreshInstallDesc=Utilizar este método si es su primera instalación. Si no es el caso, este método puede reparar una instalación anterior incompleta, pero si quiere actualizar una versión anterior, escoja el método "Actualización".
|
||||||
Upgrade=Actualización
|
Upgrade=Actualización
|
||||||
UpgradeDesc=Utilice este método después de haber actualizado los archivos de una instalación Dolibarr antigua por los de una versión más reciente. Esta elección permite poner al día la base de datos los y sus datos para esta nueva versión.
|
UpgradeDesc=Utilice este método después de haber actualizado los archivos de una instalación Dolibarr antigua por los de una versión más reciente. Esta elección permite poner al día la base de datos y sus datos para esta nueva versión.
|
||||||
Start=Empezar
|
Start=Empezar
|
||||||
InstallNotAllowed=Instalación no autorizada por los permisos del archivo <b>conf.php</b>
|
InstallNotAllowed=Instalación no autorizada por los permisos del archivo <b>conf.php</b>
|
||||||
NotAvailable=No disponible
|
NotAvailable=No disponible
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user