mirror of
https://github.com/pretix/pretix.git
synced 2026-04-24 23:32:33 +00:00
Invoice address: Fix broken autofill for Peppol ID (Z#23224796)
This commit is contained in:
@@ -173,7 +173,7 @@ $(function () {
|
||||
if (!dependents.transmission_peppol_participant_id.val()) {
|
||||
const fill_peppol_id = function () {
|
||||
const vatId = dependents.vat_id.val();
|
||||
if (vatId && vatId.startsWith("BE") && dependents.transmission_type.val() === "peppol" && autofill_peppol_id) {
|
||||
if (vatId && vatId.startsWith("BE") && dependents.transmission_type.val() === "peppol") {
|
||||
dependents.transmission_peppol_participant_id.val("0201:" + vatId.substring(2))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user