{{ __('messages.invoice.send_invoice_in_whatsapp') }}

{{ Form::open(['id' => 'sendInvoiceOnWhatsApp']) }}
{{ Form::hidden('invoice_id', null, ['id' => 'invoiceId']) }}
{{ Form::label('phone_number', __('messages.invoice.phone_number') . ':', ['class' => 'form-label mb-3 required']) }} {{ Form::tel('phone_number', getSettingValue('country_code'), ['class' => 'form-control whatsapp-phone-number', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")', 'id' => 'phoneNumber', 'required']) }} {{ Form::hidden('region_code', null, ['id' => 'prefix_code']) }} ✓ {{ __('messages.placeholder.valid_number') }}
{{ Form::button(__('messages.invoice.send_whatsapp'), ['type' => 'submit', 'class' => 'btn btn-primary me-2', 'id' => 'btnSave', 'data-loading-text' => " Processing..."]) }}
{{ Form::close() }}