Deprecate price_overriden
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-dollar-sign"></i></span>
|
||||
</div>
|
||||
<input type="text" class="form-control @error('broadband.price_override') is-invalid @enderror" id="price" name="broadband[price]" value="{{ $o->price }}">
|
||||
<input type="text" class="form-control @error('broadband.price') is-invalid @enderror" id="price" name="broadband[price]" value="{{ $o->price }}">
|
||||
<span class="invalid-feedback" role="alert">
|
||||
@error('broadband.price')
|
||||
{{ $message }}
|
||||
|
@@ -45,6 +45,14 @@
|
||||
<th>Billed</th>
|
||||
<td>{{ $o->billing_interval_string }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Amount</th>
|
||||
@if($o->isChargeOverriden())
|
||||
<td>@if ($o->billing_charge < $o->charge_orig)<del>${{ number_format($o->charge_orig,2) }}</del> @endif${{ number_format($o->billing_charge,2) }}</td>
|
||||
@else
|
||||
<td>${{ number_format($o->billing_charge,2) }}</td>
|
||||
@endif
|
||||
</tr>
|
||||
@if($o->active AND $o->invoice_to)
|
||||
<tr>
|
||||
<th>Invoiced To</th>
|
||||
|
@@ -68,18 +68,6 @@
|
||||
'value'=>$o->recur_schedule ?? '',
|
||||
])
|
||||
</div>
|
||||
|
||||
<!-- Price Override -->
|
||||
<div class="col-12 col-sm-9 col-md-12 col-xl-3">
|
||||
@include('adminlte::widget.form_text',[
|
||||
'label'=>'Override Price',
|
||||
'icon'=>'fas fa-dollar-sign',
|
||||
'id'=>'price_override',
|
||||
'old'=>'price_override',
|
||||
'name'=>'price_override',
|
||||
'value'=>$o->price_override ?? '',
|
||||
])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user