diff --git a/src/backend/database/seeders/TenantSeeder.php b/src/backend/database/seeders/TenantSeeder.php index 5a163e13..64078632 100644 --- a/src/backend/database/seeders/TenantSeeder.php +++ b/src/backend/database/seeders/TenantSeeder.php @@ -19,6 +19,10 @@ 'email' => 'dummy_company@example.com', 'protected_page_password' => '123123', ]; +const DUMMY_COMPANY_SETTINGS = [ + 'company_name' => 'Dummy Company', + 'currency' => 'TSZ', +]; const DUMMY_COMPANY_ADMIN = [ 'password' => '123123', 'email' => 'dummy_company_admin@example.com', @@ -75,7 +79,10 @@ function () { $mainSettings = $this->mainSettingsService->getAll()->first(); $this->mainSettingsService->update( $mainSettings, - ['company_name' => DUMMY_COMPANY_DATA['name']] + [ + 'company_name' => DUMMY_COMPANY_SETTINGS['company_name'], + 'currency' => DUMMY_COMPANY_SETTINGS['currency'], + ] ); } ); diff --git a/src/frontend/src/ExportedRoutes.js b/src/frontend/src/ExportedRoutes.js index 6ef61a17..2d200f56 100644 --- a/src/frontend/src/ExportedRoutes.js +++ b/src/frontend/src/ExportedRoutes.js @@ -23,8 +23,8 @@ import Reports from "./pages/Report/index.vue" import CustomerList from "./pages/Client/index.vue" import CustomerDetail from "./pages/Client/_id.vue" import TransactionList from "./pages/Transaction/index.vue" -import TransactionSearch from "./pages/Client/_id.vue" -import TransactionDetail from "./pages/Client/_id.vue" +import TransactionSearch from "./pages/Transaction/index.vue" +import TransactionDetail from "./pages/Transaction/_id.vue" import TicketList from "./pages/Ticket/index.vue" import TicketSettingsUsers from "./pages/Ticket/Setting/User/index.vue" import TicketSettingsCategories from "./pages/Ticket/Setting/Category/index.vue"