diff --git a/database/seeds/constants/AccountClassesTableSeeder.php b/database/seeds/constants/AccountClassesTableSeeder.php index 7d76523..f01604c 100644 --- a/database/seeds/constants/AccountClassesTableSeeder.php +++ b/database/seeds/constants/AccountClassesTableSeeder.php @@ -1,6 +1,7 @@ insert([ + [ + 'scope_id' => 1, + 'io_type' => 1, + 'number' => 1000, + 'name' => 'EINNAHMEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 1, + 'io_type' => 2, + 'number' => 1500, + 'name' => 'AUSGABEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 2, + 'io_type' => 1, + 'number' => 2000, + 'name' => 'EINNAHMEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 2, + 'io_type' => 2, + 'number' => 2500, + 'name' => 'AUSGABEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 3, + 'io_type' => 1, + 'number' => 3000, + 'name' => 'EINNAHMEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 3, + 'io_type' => 2, + 'number' => 3500, + 'name' => 'AUSGABEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 4, + 'io_type' => 1, + 'number' => 4000, + 'name' => 'EINNAHMEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 4, + 'io_type' => 2, + 'number' => 4500, + 'name' => 'AUSGABEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 5, + 'io_type' => 1, + 'number' => 5000, + 'name' => 'EINNAHMEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'scope_id' => 5, + 'io_type' => 2, + 'number' => 5500, + 'name' => 'AUSGABEN', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ] + ]); } } diff --git a/database/seeds/constants/AccountTypesTableSeeder.php b/database/seeds/constants/AccountTypesTableSeeder.php index 1b1d0a0..0a19678 100644 --- a/database/seeds/constants/AccountTypesTableSeeder.php +++ b/database/seeds/constants/AccountTypesTableSeeder.php @@ -1,6 +1,7 @@ insert([ + [ + 'account_class_id' => 1, + 'number' => 1001, + 'name' => 'Mitgliederbeiträge', + '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' => 1, + 'number' => 1002, + 'name' => 'Teilnehmerbeiträge Probenwochenenden', + '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' => 1, + 'number' => 1003, + 'name' => 'Teilnehmerbeiträge Wettbewerbe etc.', + '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' => 1, + 'number' => 1004, + 'name' => 'Teilnehmerbeiträge Workshops & Coachings', + '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' => 1, + 'number' => 1010, + 'name' => 'Spenden', + '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' => 1, + 'number' => 1011, + 'name' => 'Zuschüsse', + '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' => 1, + 'number' => 1012, + 'name' => 'Preisgelder, Prämien', + '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' => 1, + 'number' => 1070, + 'name' => 'Verkaufserlöse Notenverkauf', + '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' => 2, + 'number' => 1501, + 'name' => 'Honorare Chorleiter', + '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' => 2, + 'number' => 1502, + 'name' => 'Honorare Gastkünstler', + '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' => 2, + 'number' => 1503, + 'name' => 'Honorare Workshopleiter & Coaches', + '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' => 2, + 'number' => 1504, + 'name' => 'Honorare Ton- und Lichttechniker', + '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' => 2, + 'number' => 1505, + 'name' => 'Honorare Fotografen', + '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' => 2, + 'number' => 1509, + 'name' => 'Sontige Honorare', + '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' => 2, + 'number' => 1510, + 'name' => 'Kontoführung', + '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' => 2, + 'number' => 1520, + 'name' => 'Webdienste, Social Media', + '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' => 2, + 'number' => 1530, + 'name' => 'GEMA Gebühren', + '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' => 2, + 'number' => 1531, + 'name' => 'Beiträge Chorverband', + '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' => 2, + 'number' => 1532, + 'name' => 'Versicherungen', + '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' => 2, + 'number' => 1540, + 'name' => 'Büromaterial', + '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' => 2, + 'number' => 1541, + 'name' => 'Porto', + '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' => 2, + 'number' => 1550, + 'name' => 'Teilnehmerbeiträge Wettbewerbe etc.', + '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' => 2, + 'number' => 1559, + 'name' => 'Sonstige Teilnehmerbeiträge', + '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' => 2, + 'number' => 1560, + 'name' => 'Miete PRobenräume', + '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' => 2, + 'number' => 1561, + 'name' => 'Miete Konzerträume', + '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' => 2, + 'number' => 1562, + 'name' => 'Sontige Mieten', + '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' => 2, + 'number' => 1570, + 'name' => 'Arrangements', + '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' => 2, + 'number' => 1571, + 'name' => 'Anschaffungskosten Noten', + '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' => 2, + 'number' => 1580, + 'name' => 'Geschenke, Jubiläen, Ehrungen', + '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' => 2, + 'number' => 1590, + 'name' => 'Fahrtkosten', + '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' => 2, + 'number' => 1600, + 'name' => 'Verpflegung Probenwochenenden', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + ]); } } diff --git a/database/seeds/constants/ConstantsSeeder.php b/database/seeds/constants/ConstantsSeeder.php index 0258cca..4bc66e5 100644 --- a/database/seeds/constants/ConstantsSeeder.php +++ b/database/seeds/constants/ConstantsSeeder.php @@ -12,10 +12,11 @@ class ConstantsSeeder extends Seeder public function run() { $this->call([ - AccountClassesTableSeeder::class, - AccountTypesTableSeeder::class, + ScopesTableSeeder::class, IOTypesTableSeeder::class, - ScopesTableSeeder::class + + AccountClassesTableSeeder::class, + AccountTypesTableSeeder::class ]); } } diff --git a/database/seeds/constants/ScopesTableSeeder.php b/database/seeds/constants/ScopesTableSeeder.php index 3c8af01..5661d45 100644 --- a/database/seeds/constants/ScopesTableSeeder.php +++ b/database/seeds/constants/ScopesTableSeeder.php @@ -32,6 +32,11 @@ class ScopesTableSeeder extends Seeder 'name' => 'Wirtschaftlicher Geschäftsbetrieb', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'name' => 'Sonstiges', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') ] ]); }