Skip to content

Commit

Permalink
Added the VAT field on addresses (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Aug 22, 2023
1 parent b760968 commit ec6a2ce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions resources/views/checkout/partials/address.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,15 @@
/>
</div>
@endif
@if(Rapidez::config('customer/address/taxvat_show', 0))
<div class="col-span-12 sm:col-span-6">
<x-rapidez::input
name="{{ $type }}_vat_id"
label="Tax ID"
placeholder=""
v-model.lazy="checkout.{{ $type }}_address.vat_id"
:required="Rapidez::config('customer/address/taxvat_show', 'opt') == 'req'"
/>
</div>
@endif
</div>

0 comments on commit ec6a2ce

Please sign in to comment.