Skip to content
Snippets Groups Projects
Commit 777920b7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Ajout des champs total_ht et total_ttc sur ligne facture car c'est obligatoire en compta

parent 8100ccab
No related branches found
No related tags found
No related merge requests found
...@@ -2223,7 +2223,7 @@ class FactureLigne ...@@ -2223,7 +2223,7 @@ class FactureLigne
var $produit_id; var $produit_id;
var $date_start; var $date_start;
var $date_end; var $date_end;
var $info_bits; var $info_bits; // 0 si TVA normal, 1 si TVA NPR
/** /**
......
...@@ -79,6 +79,9 @@ ALTER TABLE llx_facture_fourn_det ADD INDEX idx_facture_fourn_det_fk_facture (fk ...@@ -79,6 +79,9 @@ ALTER TABLE llx_facture_fourn_det ADD INDEX idx_facture_fourn_det_fk_facture (fk
ALTER TABLE llx_facture_fourn_det ADD CONSTRAINT fk_facture_fourn_det_fk_facture FOREIGN KEY (fk_facture_fourn) REFERENCES llx_facture_fourn (rowid); ALTER TABLE llx_facture_fourn_det ADD CONSTRAINT fk_facture_fourn_det_fk_facture FOREIGN KEY (fk_facture_fourn) REFERENCES llx_facture_fourn (rowid);
ALTER TABLE llx_facturedet ADD COLUMN total_ht real after price;
ALTER TABLE llx_facturedet ADD COLUMN total_tva real;
ALTER TABLE llx_facturedet ADD COLUMN total_ttc real;
ALTER TABLE llx_facturedet ADD COLUMN info_bits integer DEFAULT 0 after date_end; ALTER TABLE llx_facturedet ADD COLUMN info_bits integer DEFAULT 0 after date_end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment