feat: add whatsapp_number field to supplier and customer forms
This commit is contained in:
1 parent
34e095526f
commit
12751ab39c
6 files changed
+71
-19
No files matched your search
@@ -43,6 +43,15 @@
|
||||
<input type="text" name="phone" value="{{ old('phone') }}" class="form-input">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="form-label">WhatsApp Number</label>
|
||||
<input type="text" name="whatsapp_number"
|
||||
value="{{ old('whatsapp_number', '') }}"
|
||||
placeholder="+971501234567"
|
||||
class="form-input">
|
||||
<p style="font-size:12px;color:#6b7280;margin-top:4px;">International format. Used for WhatsApp notifications.</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="form-label">Tax Number</label>
|
||||
<input type="text" name="tax_number" value="{{ old('tax_number') }}" class="form-input">
|
||||
|
||||
@@ -44,6 +44,15 @@
|
||||
<input type="text" name="phone" value="{{ old('phone', $supplier->phone) }}" class="form-input">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="form-label">WhatsApp Number</label>
|
||||
<input type="text" name="whatsapp_number"
|
||||
value="{{ old('whatsapp_number', $supplier->whatsapp_number ?? '') }}"
|
||||
placeholder="+971501234567"
|
||||
class="form-input">
|
||||
<p style="font-size:12px;color:#6b7280;margin-top:4px;">International format. Used for WhatsApp notifications.</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="form-label">Tax Number</label>
|
||||
<input type="text" name="tax_number" value="{{ old('tax_number', $supplier->tax_number) }}" class="form-input">
|
||||
|
||||
Reference in new issue
Block a user