App Store price add prefix and suffix

This commit is contained in:
cuneytsenturk 2018-12-22 18:04:16 +03:00
parent 4eb8ba2f50
commit 7f2ee295c8
4 changed files with 13 additions and 1 deletions

8
public/css/app.css vendored
View File

@ -927,3 +927,11 @@ input[type="number"] {
background: #6da252;
cursor: pointer;
}
.box-body .app-price-suffix {
font-size: 50%;
}
.box-footer .app-price-suffix {
font-size: 70%;
}

View File

@ -146,12 +146,14 @@
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
{!! $module->price_prefix !!}
@if (isset($module->special_price))
<del>{{ $module->price }}</del>
{{ $module->special_price }}
@else
{{ $module->price }}
@endif
{!! $module->price_suffix !!}
@endif
</div>
</div>

View File

@ -9,7 +9,7 @@
<div class="box-body">
<div class="col-md-12">
<div class="form-group required {{ $errors->has('api_token') ? 'has-error' : ''}}">
{!! Form::label('sale_price', trans('modules.api_token'), ['class' => 'control-label']) !!}
{!! Form::label('api_token', trans('modules.api_token'), ['class' => 'control-label']) !!}
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
{!! Form::text('api_token', setting('general.api_token', null), ['class' => 'form-control', 'required' => 'required', 'placeholder' => trans('general.form.enter', ['field' => trans('modules.api_token')])]) !!}

View File

@ -44,12 +44,14 @@
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
{!! $module->price_prefix !!}
@if (isset($module->special_price))
<del>{{ $module->price }}</del>
{{ $module->special_price }}
@else
{{ $module->price }}
@endif
{!! $module->price_suffix !!}
@endif
</div>
</div>