mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Revamped the account controller.
This commit is contained in:
@@ -22,7 +22,8 @@ class CreateAccountTypesTable extends Migration
|
||||
'account_types', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->timestamps();
|
||||
$table->string('description', 50);
|
||||
$table->string('type', 50);
|
||||
$table->boolean('editable');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@@ -11,16 +11,16 @@ class AccountTypeSeeder extends Seeder
|
||||
DB::table('account_types')->delete();
|
||||
|
||||
AccountType::create(
|
||||
['description' => 'Default account']
|
||||
['type' => 'Default account','editable' => true]
|
||||
);
|
||||
AccountType::create(
|
||||
['description' => 'Cash account']
|
||||
['type' => 'Cash account','editable' => false]
|
||||
);
|
||||
AccountType::create(
|
||||
['description' => 'Initial balance account']
|
||||
['type' => 'Initial balance account','editable' => false]
|
||||
);
|
||||
AccountType::create(
|
||||
['description' => 'Beneficiary account']
|
||||
['type' => 'Beneficiary account','editable' => true]
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user