Update settings.blade.php
This commit is contained in:
parent
11c29739c7
commit
39569917c7
|
@ -256,7 +256,7 @@
|
||||||
<select name="product_upgrade" id="product_upgrade" class="form-input2 form-control">
|
<select name="product_upgrade" id="product_upgrade" class="form-input2 form-control">
|
||||||
<option value="">{{__("Select the product")}}</option>
|
<option value="">{{__("Select the product")}}</option>
|
||||||
@foreach($products as $product)
|
@foreach($products as $product)
|
||||||
@if(in_array($server->egg, $product->eggs) && $product->id != $server->product->id)
|
@if(in_array($server->egg, $product->eggs) && $product->id != $server->product->id && !$server->product->disabled)
|
||||||
<option value="{{ $product->id }}">{{ $product->name }} [ {{ CREDITS_DISPLAY_NAME }} {{ $product->price }} ]</option>
|
<option value="{{ $product->id }}">{{ $product->name }} [ {{ CREDITS_DISPLAY_NAME }} {{ $product->price }} ]</option>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
@ -313,12 +313,12 @@
|
||||||
</section>
|
</section>
|
||||||
<!-- END CONTENT -->
|
<!-- END CONTENT -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(".upgrade-form").submit(function (e) {
|
$(".upgrade-form").submit(function (e) {
|
||||||
|
|
||||||
$(".upgrade-once").attr("disabled", true);
|
$(".upgrade-once").attr("disabled", true);
|
||||||
return true;
|
return true;
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in a new issue