Jacek Pyziak c758ec7c92 feat(126): invoice GUS field mapping fix (JDG/KRS heuristic)
MfWhitelistApiClient.lookupByNip() exposes is_jdg/krs from MF Biala Lista.
InvoiceController.nipLookup propagates is_jdg in JSON response.
invoice_form.php JS conditionally targets buyer_name (JDG) or
buyer_company_name (spolka z KRS); second field keeps zamowienie pre-fill.

Fixes apparent field swap on /orders/{id}/invoice/create after GUS lookup
for JDG (sole trader) where MF returns natural person in subject.name.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 22:29:55 +02:00
2026-05-12 20:38:56 +02:00
2026-04-08 23:22:48 +02:00
2026-04-19 22:43:02 +02:00
2026-04-30 21:33:48 +02:00
2026-05-11 00:09:23 +02:00
2026-04-09 00:51:24 +02:00
2026-03-28 15:04:35 +01:00
2026-05-12 20:38:56 +02:00
2026-04-12 21:43:39 +02:00
2026-03-15 01:17:19 +01:00
2026-04-28 22:17:25 +02:00
2026-03-18 00:02:18 +01:00
2026-03-13 01:00:28 +01:00
Description
No description provided
116 MiB
Languages
PHP 82.5%
Python 8.5%
SCSS 3.3%
CSS 2.6%
JavaScript 1.7%
Other 1.3%