Articles facturés au poids
This commit is contained in:
@@ -15,3 +15,9 @@ Article : code, article, famille_code, factpoids, prix
|
||||
Ticket : id, date_ticket, adherent_id, mode_rglt
|
||||
Ligne : id, ticket_id, article_code, prix_unitaire, quantite
|
||||
```
|
||||
|
||||
### Export
|
||||
|
||||
```shell
|
||||
psql -h 127.0.0.1 -d sql -U sql -c "\copy (select * from ligne order by id) to './ligne.csv' with csv header"
|
||||
```
|
||||
|
||||
2200
data/article.csv
2200
data/article.csv
File diff suppressed because it is too large
Load Diff
@@ -21,9 +21,7 @@ create table article (
|
||||
unitevente int,
|
||||
prix decimal,
|
||||
unitepoids int,
|
||||
publie int,
|
||||
suivistock int,
|
||||
sommeil int
|
||||
suivistock int
|
||||
);
|
||||
|
||||
create table ticket (
|
||||
|
||||
Reference in New Issue
Block a user