Fix: increase the capacity of field prefix_iban of llx_societe_rib

This commit is contained in:
Regis Houssin 2009-07-09 12:31:49 +00:00
parent a0a9ee10bc
commit 6d4d493c36
3 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,7 @@
/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
* *
* This program is free software; you can redistribute it and/or modify * 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 * 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->bic = $_POST["bic"];
$account->iban_prefix = $_POST["iban_prefix"]; $account->iban_prefix = $_POST["iban_prefix"];
$account->domiciliation = $_POST["domiciliation"]; $account->domiciliation = $_POST["domiciliation"];
$account->proprio = $_POST["proprio"]; $account->proprio = $_POST["proprio"];
$account->adresse_proprio = $_POST["adresse_proprio"]; $account->adresse_proprio = $_POST["adresse_proprio"];
$result = $account->update($user); $result = $account->update($user);

View File

@ -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 ref varchar(50) after fk_product;
alter table llx_facture_fourn_det add column label varchar(255) after ref; alter table llx_facture_fourn_det add column label varchar(255) after ref;
alter table llx_societe_rib modify column iban_prefix varchar(50);

View File

@ -1,5 +1,6 @@
-- ============================================================================= -- =============================================================================
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
-- --
-- This program is free software; you can redistribute it and/or modify -- 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 -- 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), number varchar(255),
cle_rib varchar(5), cle_rib varchar(5),
bic varchar(10), bic varchar(10),
iban_prefix varchar(5), iban_prefix varchar(50),
domiciliation varchar(255), domiciliation varchar(255),
proprio varchar(60), proprio varchar(60),
adresse_proprio varchar(255) adresse_proprio varchar(255)