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'),
'Accept' => 'application/json',
'Referer' => env('APP_URL'),
'Akaunting' => version('short'),
];
$data['http_errors'] = false;

View File

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

View File

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