diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index f56143b3fd1..d144ef5099b 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -2,6 +2,7 @@ /* Copyright (C) 2002-2004 Rodolphe Quiedeville * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004-2008 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin * * 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 @@ -66,7 +67,7 @@ if ($_POST["action"] == 'update' && ! $_POST["cancel"]) $account->bic = $_POST["bic"]; $account->iban_prefix = $_POST["iban_prefix"]; $account->domiciliation = $_POST["domiciliation"]; - $account->proprio = $_POST["proprio"]; + $account->proprio = $_POST["proprio"]; $account->adresse_proprio = $_POST["adresse_proprio"]; $result = $account->update($user); diff --git a/mysql/migration/2.6.0-2.7.0.sql b/mysql/migration/2.6.0-2.7.0.sql index 0a435ba7286..c67fea64a93 100644 --- a/mysql/migration/2.6.0-2.7.0.sql +++ b/mysql/migration/2.6.0-2.7.0.sql @@ -234,3 +234,4 @@ insert into llx_c_departements ( code_departement, fk_region, cheflieu, tncc, nc alter table llx_facture_fourn_det add column ref varchar(50) after fk_product; alter table llx_facture_fourn_det add column label varchar(255) after ref; +alter table llx_societe_rib modify column iban_prefix varchar(50); \ No newline at end of file diff --git a/mysql/tables/llx_societe_rib.sql b/mysql/tables/llx_societe_rib.sql index b1c8a01913f..6e5bb971530 100644 --- a/mysql/tables/llx_societe_rib.sql +++ b/mysql/tables/llx_societe_rib.sql @@ -1,5 +1,6 @@ -- ============================================================================= -- Copyright (C) 2000-2004 Rodolphe Quiedeville +-- Copyright (C) 2005-2009 Regis Houssin -- -- 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 @@ -31,7 +32,7 @@ create table llx_societe_rib number varchar(255), cle_rib varchar(5), bic varchar(10), - iban_prefix varchar(5), + iban_prefix varchar(50), domiciliation varchar(255), proprio varchar(60), adresse_proprio varchar(255)