Skip to content

Commit

Permalink
#DLF-164 Permettre de saisir 0% de TVA sur un produit
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmugnier committed Nov 24, 2020
1 parent e217bc4 commit 4e304b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/products/ProductForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,14 @@ import { config } from "../../configs/config";
class="w-full text-lg justify-center button-group"
class:skeleton-box={isLoading}
use:bindClass={{ form: productForm, name: 'vat' }}>
<button
on:click={() => selectVat(0)}
type="button"
class="text-sm md:text-base"
class:selected={product.vat === 0}
class:skeleton-box={isLoading}>
0%
</button>
<button
on:click={() => selectVat(5.5)}
type="button"
Expand Down

0 comments on commit 4e304b7

Please sign in to comment.