{$t('invoice.addTipq')}
{#if !showCustomAmount}
{f(tipAmount, currency)}
{`(${s(tip)} SAT)`}
{Math.round(tipPercent)}%
(showMobileTip = false)} /> {#each tipAmounts as amount}
handleTipButtonClick(amount)}>{amount}
{/each}
(showCustomAmount = true)}>Custom amount
{/if}
{#if showCustomAmount}
$
handleCustomTipAmount(e)} class="pl-10" placeholder="Other" />
Apply
{/if}