Ajout des champs total_ht et total_ttc sur ligne facture car c'est obligatoire en compta
This commit is contained in:
parent
8100ccab02
commit
777920b7de
@ -2223,7 +2223,7 @@ class FactureLigne
|
||||
var $produit_id;
|
||||
var $date_start;
|
||||
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
|
||||
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;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user