feat(proforma): settings-driven proforma -> VAT invoice flow - #21
Conversation
|
First: the work across #19, #20, #21 and #22 is genuinely excellent — the KSeF XAdES/OAEP-SHA256 handling, the NIP checksum, encrypted addon settings, and the idempotent proforma→VAT conversion are all well done. This note is about how the PRs fit together, not the code. These four PRs overlap rather than stack cleanly. #21 is effectively a superset — it carries the CompanyLookup (#19), KSeF (#20) and addon-settings (#22) files as well as the proforma feature. All four target The concrete hazard is the migrations. Could you let us know the intended dependency order, and reshape them so either:
and so that any change to an already-shipped migration (e.g. dropping Two small code notes while here:
We won't merge anything until the ordering is clear — thanks again, this is a lot of high-quality ground covered. |
4305c4d to
39317ef
Compare
Review — fixed, ready to mergeProforma flow is now clean (20 files, proforma-only). No KSeF / Company Lookup / addon framework contamination. Sugestia: independent — można mergować. |
|
Thank you — restructuring this down to a proforma-only diff was exactly what was needed, and the idempotent VAT-invoice conversion is clean. We just merged the first clean batch into main: #16 (client delete), #24 (invoice number display), #13 (Tpay), #22 (addon settings framework) and #14 (tax rewrite). It now shows a conflict against main. A rebase should clear it; please also confirm its migration ordering sits after the merged tax migrations, since it relies on the invoice type column. Then we'll merge. |
…om income reports
39317ef to
2919687
Compare
|
*Zrebasowane na aktualny \main* — czyste, gotowe do merga. Odpowiedź na uwagi techniczne z review:
|
… and the tax/proforma merges Adds the tr/zh strings for the new Add Service form, and backfills eleven keys the tax-model and proforma merges (#14, #21) added to English and Polish but not to Turkish and Chinese (invoicing catalog, per-line unit, proforma). This restores full pl/zh/tr parity with English.
The zh files had drifted from English after several merges (#9, #14, #17, #21, #23): same keys, but flattened/reordered, so the zh structure test failed. Rebuild admin/client/common/messages to English's exact nesting and order, keeping every existing Chinese translation. Also fix funds.amount_range, which carried :min/:max placeholders English does not pass, so it rendered the raw tokens; it now matches the English static form.
What
Settings-driven proforma → VAT invoice flow (core feature, not an addon).
Notes