Completed seeder for the account types table.

This commit is contained in:
Lukas Halbritter
2018-09-11 10:53:06 +02:00
parent 276e617b62
commit cceec0a6bb
2 changed files with 128 additions and 1 deletions
@@ -238,7 +238,134 @@ class AccountTypesTableSeeder extends Seeder
'name' => 'Verpflegung Probenwochenenden', 'name' => 'Verpflegung Probenwochenenden',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'), 'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s') 'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
/**********************************************************************
* ZWECKBETRIEB *
**********************************************************************/
// EINNAHMEN
DB::table('account_types')->insert([
[
'account_class_id' => 3,
'number' => 2001,
'name' => 'Verkaufserlöse Tonträger',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
], ],
[
'account_class_id' => 3,
'number' => 2010,
'name' => 'Gagen',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'account_class_id' => 3,
'number' => 2011,
'name' => 'Verkaufserlöse Konzerttickets',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'account_class_id' => 3,
'number' => 2020,
'name' => 'Versandkosten',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
// AUSGABEN
DB::table('account_types')->insert([
[
'account_class_id' => 4,
'number' => 2501,
'name' => 'Produktion Tonträger',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'account_class_id' => 4,
'number' => 2510,
'name' => 'Bühnentechnik',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'account_class_id' => 4,
'number' => 2520,
'name' => 'Versandkosten',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'account_class_id' => 4,
'number' => 2530,
'name' => 'Verpflegung bei Konzerten',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'account_class_id' => 4,
'number' => 2540,
'name' => 'Druckerzeugnisse',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
/**********************************************************************
* WIRTSCHAFTLICHER GESCHÄFTSBETRIEB *
**********************************************************************/
// EINNAHMEN
DB::table('account_types')->insert([
[
'account_class_id' => 7,
'number' => 4001,
'name' => 'Verkaufserlöse Merchandise',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
// AUSGABEN
DB::table('account_types')->insert([
[
'account_class_id' => 8,
'number' => 4501,
'name' => 'Produktion Merchandise',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
/**********************************************************************
* SONTIGES *
**********************************************************************/
// EINNAHMEN
DB::table('account_types')->insert([
[
'account_class_id' => 9,
'number' => 5001,
'name' => 'Auslagen, Pfänder',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
// AUSGABEN
DB::table('account_types')->insert([
[
'account_class_id' => 10,
'number' => 5501,
'name' => 'Auslagen, Pfänder',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]); ]);
} }
} }