feat: add custom signature image and signer details support to invoices and settings

This commit is contained in:
I-Fun
2026-04-05 12:03:11 +07:00
parent 64092d3abc
commit 12d44cbecc
15 changed files with 510 additions and 196 deletions

View File

@@ -33,10 +33,19 @@
<input type="text" name="content_type" value="{{ old('content_type', $rateCard->content_type) }}"
class="input-soft" placeholder="Reel, Story...">
</div>
<div>
<div x-data="{
rawPrice: '{{ old('price', $rateCard->price) }}',
get formattedPrice() {
if (!this.rawPrice) return '';
return parseInt(this.rawPrice).toLocaleString('id-ID');
},
set formattedPrice(val) {
this.rawPrice = val.replace(/\D/g, '');
}
}">
<label class="block text-sm font-semibold text-gray-700 mb-1">Price</label>
<input type="number" name="price" value="{{ old('price', $rateCard->price) }}"
class="input-soft" min="0" step="100000">
<input type="hidden" name="price" :value="rawPrice">
<input type="text" x-model="formattedPrice" class="input-soft" placeholder="0">
</div>
<div>
<label class="block text-sm font-semibold text-gray-700 mb-1">Currency</label>