Enable editing num accounts for email
This commit is contained in:
parent
a4ed29b560
commit
edc06e51fb
@ -33,17 +33,15 @@
|
|||||||
<!-- EXPIRY -->
|
<!-- EXPIRY -->
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
<div class="form-group has-validation">
|
<div class="form-group has-validation">
|
||||||
<label for="domain_expire">Expiry</label>
|
<label for="expire_at">Expiry</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fas fa-fw fa-calendar"></i></span>
|
<span class="input-group-text"><i class="fas fa-fw fa-calendar"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="date" class="form-control @error('email.expire_at') is-invalid @enderror" id="expire_at" name="email[expire_at]" value="{{ old('email.expire_at',($o->expire_at ? $o->expire_at->format('Y-m-d') : NULL)) }}" required>
|
<input type="date" class="form-control @error('email.expire_at') is-invalid @enderror" id="expire_at" name="email[expire_at]" value="{{ old('email.expire_at',($o->expire_at ? $o->expire_at->format('Y-m-d') : NULL)) }}">
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('email.expire_at')
|
@error('email.expire_at')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@else
|
|
||||||
Email hosting expiry is required.
|
|
||||||
@enderror
|
@enderror
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -54,42 +52,57 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- ADMIN URL -->
|
<!-- ADMIN URL -->
|
||||||
<div class="col-12">
|
<div class="col-9">
|
||||||
<div class="form-group has-validation">
|
<div class="form-group has-validation">
|
||||||
<label for="domain_registrar_id">Hosting Admin URL</label>
|
<label for="admin_url">Hosting Admin URL</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fab fa-fw fa-safari"></i></span>
|
<span class="input-group-text"><i class="fab fa-fw fa-safari"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control @error('email.admin_url') is-invalid @enderror" id="admin_url" name="email[admin_url]" placeholder="Admin URL..." value="{{ old('email.admin_url',$o->admin_url) }}" required>
|
<input type="text" class="form-control @error('email.admin_url') is-invalid @enderror" id="admin_url" name="email[admin_url]" placeholder="Admin URL..." value="{{ old('email.admin_url',$o->admin_url) }}">
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('email.admin_url')
|
@error('email.admin_url')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@else
|
|
||||||
Admin URL is required.
|
|
||||||
@enderror
|
@enderror
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span class="input-helper">Admin URL</span>
|
<span class="input-helper">Admin URL</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- ACCOUNTS -->
|
||||||
|
<div class="col-3">
|
||||||
|
<div class="form-group has-validation">
|
||||||
|
<label for="accounts">Accounts</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text"><i class="fas fa-fw fa-hashtag"></i></span>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="form-control @error('email.accounts') is-invalid @enderror" id="accounts" name="email[accounts]" placeholder="Accounts" value="{{ old('email.accounts',$o->accounts) }}">
|
||||||
|
<span class="invalid-feedback" role="alert">
|
||||||
|
@error('email.accounts')
|
||||||
|
{{ $message }}
|
||||||
|
@enderror
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<span class="input-helper"># Accounts</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- ADMIN USER -->
|
<!-- ADMIN USER -->
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<div class="form-group has-validation">
|
<div class="form-group has-validation">
|
||||||
<label for="registrar_ns">Admin User</label>
|
<label for="admin_user">Admin User</label>
|
||||||
<div class="input-group flex-nowrap">
|
<div class="input-group flex-nowrap">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fas fa-fw fa-user"></i></span>
|
<span class="input-group-text"><i class="fas fa-fw fa-user"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control @error('email.admin_user') is-invalid @enderror" id="admin_user" name="email[admin_user]" placeholder="Admin USER" value="{{ old('email.admin_user',$o->admin_user) }}" required>
|
<input type="text" class="form-control @error('email.admin_user') is-invalid @enderror" id="admin_user" name="email[admin_user]" placeholder="Admin USER" value="{{ old('email.admin_user',$o->admin_user) }}">
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('email.admin_user')
|
@error('email.admin_user')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@else
|
|
||||||
Admin USER is required.
|
|
||||||
@enderror
|
@enderror
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -100,17 +113,15 @@
|
|||||||
<!-- ADMIN PASS -->
|
<!-- ADMIN PASS -->
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<div class="form-group has-validation">
|
<div class="form-group has-validation">
|
||||||
<label for="registrar_username">Registrar Username</label>
|
<label for="admin_pass">Admin Pass</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fas fa-fw fa-lock"></i></span>
|
<span class="input-group-text"><i class="fas fa-fw fa-lock"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control @error('email.admin_pass') is-invalid @enderror" id="admin_pass" name="email[admin_pass]" value="{{ old('email.admin_pass',$o->admin_pass) }}" required>
|
<input type="text" class="form-control @error('email.admin_pass') is-invalid @enderror" id="admin_pass" name="email[admin_pass]" value="{{ old('email.admin_pass',$o->admin_pass) }}">
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('email.admin_pass')
|
@error('email.admin_pass')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@else
|
|
||||||
Admin PASSWORD is required.
|
|
||||||
@enderror
|
@enderror
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
<th>Supplier</th>
|
<th>Supplier</th>
|
||||||
<th>Admin URL</th>
|
<th>Admin URL</th>
|
||||||
<th>Admin Details</th>
|
<th>Admin Details</th>
|
||||||
|
<th>Accounts</th>
|
||||||
<th>Next Billed</th>
|
<th>Next Billed</th>
|
||||||
<th>Price</th>
|
<th>Price</th>
|
||||||
<th>Term</th>
|
<th>Term</th>
|
||||||
@ -45,6 +46,7 @@
|
|||||||
<td>{{ $oo->service->product->supplier->name }}</td>
|
<td>{{ $oo->service->product->supplier->name }}</td>
|
||||||
<td>{{ $oo->admin_url }}</td>
|
<td>{{ $oo->admin_url }}</td>
|
||||||
<td>@if($oo->admin_user){{ $oo->admin_user }}/{{ $oo->admin_pass }}@else @endif</td>
|
<td>@if($oo->admin_user){{ $oo->admin_user }}/{{ $oo->admin_pass }}@else @endif</td>
|
||||||
|
<td class="text-right">{{ number_format($oo->accounts ?: 0,0) }}</td>
|
||||||
<td>@if ($oo->service->isBilled()) <span class="@if($oo->service->suspend_billing)strike @endif">{{ $oo->service->invoice_next->format('Y-m-d') }}</span> @else - @endif</td>
|
<td>@if ($oo->service->isBilled()) <span class="@if($oo->service->suspend_billing)strike @endif">{{ $oo->service->invoice_next->format('Y-m-d') }}</span> @else - @endif</td>
|
||||||
<td>@if (! $oo->service->external_billing)${{ number_format($oo->service->next_invoice_items(TRUE)->sum('total'),2) }}@else - @endif</td>
|
<td>@if (! $oo->service->external_billing)${{ number_format($oo->service->next_invoice_items(TRUE)->sum('total'),2) }}@else - @endif</td>
|
||||||
<td>{{ $oo->service->billing_interval_string }}</td>
|
<td>{{ $oo->service->billing_interval_string }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user