-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix `TransactionDetail` view Copy/Paste bug introduced here: https://github.com/EnAccess/micropowermanager/pull/149/files#diff-70cb427d394f8cf075204ca82b5625aa287f84e63e29f4f6e4b42b0dd64e3ff3 * Set default currency in Demo data
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,10 @@ | |
'email' => '[email protected]', | ||
'protected_page_password' => '123123', | ||
]; | ||
const DUMMY_COMPANY_SETTINGS = [ | ||
'company_name' => 'Dummy Company', | ||
'currency' => 'TSZ', | ||
]; | ||
const DUMMY_COMPANY_ADMIN = [ | ||
'password' => '123123', | ||
'email' => '[email protected]', | ||
|
@@ -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'], | ||
] | ||
); | ||
} | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters