mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 03:43:07 +00:00
Various code cleanup and fixed alignments.
This commit is contained in:
@@ -24,7 +24,7 @@ $current = __DIR__;
|
|||||||
$paths = [
|
$paths = [
|
||||||
$current . '/../../app',
|
$current . '/../../app',
|
||||||
$current . '/../../config',
|
$current . '/../../config',
|
||||||
// $current . '/../../database',
|
$current . '/../../database',
|
||||||
// $current . '/../../routes',
|
// $current . '/../../routes',
|
||||||
// $current . '/../../tests',
|
// $current . '/../../tests',
|
||||||
// $current . '/../../resources/lang',
|
// $current . '/../../resources/lang',
|
||||||
|
@@ -36,7 +36,7 @@ class ExchangeRateSeeder extends Seeder
|
|||||||
{
|
{
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
$count = User::count();
|
$count = User::count();
|
||||||
if (0 === $count) {
|
if (0 === $count) {
|
||||||
app('log')->debug('Will not seed exchange rates yet.');
|
app('log')->debug('Will not seed exchange rates yet.');
|
||||||
|
|
||||||
|
@@ -33,7 +33,7 @@ class TransactionCurrencySeeder extends Seeder
|
|||||||
{
|
{
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
$currencies = [];
|
$currencies = [];
|
||||||
// european currencies
|
// european currencies
|
||||||
$currencies[] = ['code' => 'EUR', 'name' => 'Euro', 'symbol' => '€', 'decimal_places' => 2, 'enabled' => 1];
|
$currencies[] = ['code' => 'EUR', 'name' => 'Euro', 'symbol' => '€', 'decimal_places' => 2, 'enabled' => 1];
|
||||||
$currencies[] = ['code' => 'HUF', 'name' => 'Hungarian forint', 'symbol' => 'Ft', 'decimal_places' => 2];
|
$currencies[] = ['code' => 'HUF', 'name' => 'Hungarian forint', 'symbol' => 'Ft', 'decimal_places' => 2];
|
||||||
|
Reference in New Issue
Block a user