sql for facturation groupe, sql for bijou defunt taker name

This commit is contained in:
Tiavina 2025-03-04 13:01:39 +03:00
parent 946d75e579
commit f5b07bceae
2 changed files with 20 additions and 1 deletions

View File

@ -2,4 +2,21 @@ alter table oc_gestion_facture
add column fk_client_id INT DEFAULT NULL,
add column fk_client_group_facturation_id INT DEFAULT NULL,
add column month int DEFAULT NULL,
add column year int DEFAULT NULL;
add column year int DEFAULT NULL;
alter table oc_gestion_client_group_facturation
add column fk_template_type_key VARCHAR(100) DEFAULT 'PRIVEES';
create table if not exists oc_gestion_client_template_type (
template_type_key VARCHAR(100) PRIMARY KEY DEFAULT '',
template_type_label VARCHAR(100) DEFAULT ''
);
insert into oc_gestion_client_template_type(template_type_key,template_type_label) VALUES
('PRIVEES','PF Privées'),
('OGF','OGF'),
('FUNECAP','FUNECAP');
alter table oc_gestion_facture
add column facture_case_number VARCHAR(100) DEFAULT '',
add column facture_order_number VARCHAR(100) DEFAULT '';

View File

@ -0,0 +1,2 @@
alter table oc_gestion_bijou_defunt
add column taker_name VARCHAR(100) DEFAULT '';