@dooer/dooer-test-env 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/account.js +5 -0
- package/package.json +1 -1
package/lib/account.js
CHANGED
|
@@ -212,6 +212,11 @@ async function createAccount({ local, name, ownerUserId, execute = false, fiscal
|
|
|
212
212
|
{ key: 'hasVatRegistration', value: true, startDate: fy.start, endDate: null },
|
|
213
213
|
{ key: 'hasCompanyTax', value: true, startDate: fy.start, endDate: null }, // F-skatt
|
|
214
214
|
{ key: 'hasEmployeeRegistration', value: true, startDate: fy.start, endDate: null },
|
|
215
|
+
// REQUIRED for booking: HQ's booking view reads the method from the TEMPORAL key, not the
|
|
216
|
+
// companies column (lib/use-bookkeeping-method: temporalKeyValueByDate(key:"bookkeepingMethod")),
|
|
217
|
+
// and disables the Spara button while it is null (new-document-details/wrapper.tsx). Ghost
|
|
218
|
+
// Inspector has the column NULL but this key set — the column alone is not enough.
|
|
219
|
+
{ key: 'bookkeepingMethod', value: 'invoiceBased', startDate: fy.start, endDate: null },
|
|
215
220
|
]
|
|
216
221
|
for (const t of tkv) {
|
|
217
222
|
acct('POST', `/v1/organizations/${orgId}/temporal-key-values`, t, `temporal key ${t.key}`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dooer/dooer-test-env",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Run the whole Dooer backend locally (staging DB minus customers), copy/purge customers between environments, and shred — one CLI.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": "Dooer/cli-dooer-test-env",
|