0001-autobilled-invoices-are-not-considered-as-automatica.patch
passerelle/apps/concerto/models.py | ||
---|---|---|
182 | 182 |
invoice.date_generation as creation_date, \ |
183 | 183 |
(DATE(invoice.date_limite_paie) < DATE(NOW())) as expired, \ |
184 | 184 |
invoice.date_limite_paie as expiration_date, \ |
185 |
(invoice.paye OR invoice.prelevement_automatique OR \
|
|
185 |
(invoice.paye OR \ |
|
186 | 186 |
invoice.statut_tipi IS NOT DISTINCT FROM \'PAID\' OR \ |
187 | 187 |
invoice.solde = 0) as paid, \ |
188 | 188 |
DATE(invoice.date_reglement) as paid_date \ |
... | ... | |
223 | 223 |
(DATE(data_facture.date_limite_paie) < DATE(NOW())) as expired, \ |
224 | 224 |
data_facture.date_limite_paie as expiration_date, \ |
225 | 225 |
(data_facture.paye OR \ |
226 |
data_facture.prelevement_automatique OR \ |
|
227 | 226 |
data_facture.statut_tipi IS NOT DISTINCT FROM \'PAID\' OR \ |
228 | 227 |
data_facture.solde = 0) as paid, \ |
229 | 228 |
DATE(data_facture.date_reponse_tipi) as tipi_paid_date, \ |
230 |
- |