Merge pull request #310 from cuneytsenturk/1.2-dev

App store app price style change
This commit is contained in:
Cüneyt Şentürk 2018-04-26 13:25:15 +03:00 committed by GitHub
commit 4bc8cc5863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 15 deletions

View File

@ -320,6 +320,7 @@ trait Modules
'Authorization' => 'Bearer ' . setting('general.api_token'), 'Authorization' => 'Bearer ' . setting('general.api_token'),
'Accept' => 'application/json', 'Accept' => 'application/json',
'Referer' => env('APP_URL'), 'Referer' => env('APP_URL'),
'Akaunting' => version('short'),
]; ];
$data['http_errors'] = false; $data['http_errors'] = false;

View File

@ -59,20 +59,15 @@
<div class="box box-success"> <div class="box box-success">
<div class="box-body"> <div class="box-body">
<table class="table table-striped"> <div class="text-center">
<tbody> <div style="margin: 10px; font-size: 24px;">
<tr>
<th>Price</th>
<td class="text-right">
@if ($module->price == '0.0000') @if ($module->price == '0.0000')
{{ trans('modules.free') }} {{ trans('modules.free') }}
@else @else
{{ $module->price . ' / month' }} {{ $module->price }}
@endif @endif
</td> </div>
</tr> </div>
</tbody>
</table>
</div> </div>
<!-- /.box-body --> <!-- /.box-body -->

View File

@ -25,7 +25,7 @@
@if ($module->price == '0.0000') @if ($module->price == '0.0000')
{{ trans('modules.free') }} {{ trans('modules.free') }}
@else @else
{{ $module->price . ' / month' }} {{ $module->price }}
@endif @endif
</div> </div>
</div> </div>