fixed #73
This commit is contained in:
parent
5e923024c2
commit
f69531eec7
@ -2,11 +2,11 @@
|
||||
|
||||
namespace App\Http\Controllers\Settings;
|
||||
|
||||
use Akaunting\Money\Currency as MoneyCurrency;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Setting\Currency as Request;
|
||||
use App\Models\Banking\Account;
|
||||
use App\Models\Setting\Currency;
|
||||
use ClickNow\Money\Currency as MoneyCurrency;
|
||||
|
||||
class Currencies extends Controller
|
||||
{
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use ClickNow\Money\Money;
|
||||
use ClickNow\Money\Currency;
|
||||
use Akaunting\Money\Money;
|
||||
use Akaunting\Money\Currency;
|
||||
|
||||
trait Currencies
|
||||
{
|
||||
|
@ -8,6 +8,7 @@
|
||||
"require": {
|
||||
"php": ">=5.6.4",
|
||||
"akaunting/language": "1.0.*",
|
||||
"akaunting/money": "1.0.*",
|
||||
"akaunting/setting": "1.0.*",
|
||||
"akaunting/version": "1.0.*",
|
||||
"almasaeed2010/adminlte": "2.3.*",
|
||||
@ -15,7 +16,6 @@
|
||||
"barryvdh/laravel-dompdf": "0.*",
|
||||
"barryvdh/laravel-ide-helper": "2.3.*",
|
||||
"bkwld/cloner": "3.2.*",
|
||||
"cknow/laravel-money": "1.0.*",
|
||||
"dingo/api": "1.0.0-beta8",
|
||||
"fzaninotto/faker": "1.6.*",
|
||||
"guzzlehttp/guzzle": "6.3.*",
|
||||
|
@ -184,11 +184,11 @@ return [
|
||||
* Vendor Service Providers...
|
||||
*/
|
||||
Akaunting\Language\Provider::class,
|
||||
Akaunting\Money\Provider::class,
|
||||
Akaunting\Setting\Provider::class,
|
||||
Akaunting\Version\Provider::class,
|
||||
Barryvdh\DomPDF\ServiceProvider::class,
|
||||
Bkwld\Cloner\ServiceProvider::class,
|
||||
ClickNow\Money\MoneyServiceProvider::class,
|
||||
Collective\Html\HtmlServiceProvider::class,
|
||||
Dingo\Api\Provider\LaravelServiceProvider::class,
|
||||
EloquentFilter\ServiceProvider::class,
|
||||
|
@ -127,7 +127,7 @@
|
||||
@if ($bill->paid)
|
||||
<tr class="text-success">
|
||||
<th>{{ trans('invoices.paid') }}:</th>
|
||||
<td class="text-right">@money('-' . $bill->paid, $bill->currency_code, true)</td>
|
||||
<td class="text-right">- @money($bill->paid, $bill->currency_code, true)</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
|
@ -127,7 +127,7 @@
|
||||
@if ($invoice->paid)
|
||||
<tr class="text-success">
|
||||
<th>{{ trans('invoices.paid') }}:</th>
|
||||
<td class="text-right">@money('-' . $invoice->paid, $invoice->currency_code, true)</td>
|
||||
<td class="text-right">- @money($invoice->paid, $invoice->currency_code, true)</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user