worked on short code and sender ID modules
This commit is contained in:
74
resources/views/senderids/partials/create.blade.php
Normal file
74
resources/views/senderids/partials/create.blade.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<form id="createSenderIdForm" method="POST" action="{{ route('senderids.store') }}">
|
||||
@csrf
|
||||
<div class="modal-body p-4">
|
||||
<div id="senderIdModalAlert"></div>
|
||||
|
||||
<div class="row g-3">
|
||||
<!-- Sender ID -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label text-secondary fw-semibold small">Sender ID *</label>
|
||||
<input type="text" name="senderid" class="form-control" required placeholder="e.g. CLICK_SMS">
|
||||
</div>
|
||||
|
||||
<!-- Direct MNO Toggle -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label text-secondary fw-semibold small">Direct MNO? *</label>
|
||||
<select name="direct_mno" id="create_direct_mno" class="form-select" required>
|
||||
<option value="YES" selected>YES</option>
|
||||
<option value="NO">NO</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- MNO Name (Visible by default) -->
|
||||
<div class="col-md-12" id="wrapper_mno_name">
|
||||
<label class="form-label text-secondary fw-semibold small">MNO Name *</label>
|
||||
<input type="text" name="mno_name" id="input_mno_name" class="form-control" placeholder="Enter specific Network Operator">
|
||||
</div>
|
||||
|
||||
<!-- Supplier Name (Hidden by default) -->
|
||||
<div class="col-md-12" id="wrapper_supplier_name" style="display: none;">
|
||||
<label class="form-label text-secondary fw-semibold small">Supplier / Aggregator Name *</label>
|
||||
<input type="text" name="supplier_name" id="input_supplier_name" class="form-control" placeholder="Enter supplier name">
|
||||
</div>
|
||||
|
||||
<!-- Type & Bind Name -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label text-secondary fw-semibold small">Type</label>
|
||||
<select name="type" class="form-select">
|
||||
<option value="Alphanumeric">Alphanumeric</option>
|
||||
<option value="Numeric">Numeric</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label text-secondary fw-semibold small">Bind Name</label>
|
||||
<input type="text" name="bind_name" class="form-control" value="default">
|
||||
</div>
|
||||
|
||||
<!-- Status -->
|
||||
<div class="col-md-12">
|
||||
<label class="form-label text-secondary fw-semibold small">Status</label>
|
||||
<select name="status" class="form-select">
|
||||
<option value="" selected>-- Select --</option>
|
||||
<option value="Applied to MNO">Applied to MNO</option>
|
||||
<option value="Applied to Aggregator">Applied to Aggregator</option>
|
||||
<option value="Approved on MNO">Approved on MNO</option>
|
||||
<option value="Approved on Aggregator">Approved on Aggregator</option>
|
||||
<option value="Active">Active</option>
|
||||
<option value="Pending">Pending</option>
|
||||
<option value="Inactive">Inactive</option>
|
||||
<option value="Rejected">REJECTED</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Remarks -->
|
||||
<div class="col-12">
|
||||
<label class="form-label text-secondary fw-semibold small">Remarks</label>
|
||||
<textarea name="remarks" class="form-control" rows="2" placeholder="Optional notes..."></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer bg-light">
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" data-bs-dismiss="modal">Cancel</button>
|
||||
<button type="submit" id="btnSubmitSenderId" class="btn text-white btn-sm fw-bold px-4" style="background-color: #5c4df0;">Save Sender ID</button>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user