Skip to content

Commit

Permalink
VAT change event (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Oct 22, 2024
1 parent c03aa36 commit 4a1168e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
name="vat_id"
label="Vat ID"
v-model="addressVariables.vat_id"
v-on:change="window.app.$emit('vat-change', $event)"
:required="Rapidez::config('customer/address/taxvat_show', 0) == 'req'"
/>
@endif
Expand Down
1 change: 1 addition & 0 deletions resources/views/components/address-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class="sm:col-span-2"
name="{{ $type }}_vat_id"
label="Tax ID"
v-model.lazy="{{ $address }}.vat_id"
v-on:change="window.app.$emit('vat-change', $event)"
:required="Rapidez::config('customer/address/taxvat_show', 0) == 'req'"
/>
@endif
Expand Down

0 comments on commit 4a1168e

Please sign in to comment.