@shisyamo4131/air-guard-v2-schemas 2.3.6 → 2.3.7-dev.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/package.json +1 -1
- package/src/Company.js +35 -10
- package/src/constants/billing-unit-type.js +1 -1
package/package.json
CHANGED
package/src/Company.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Company Model
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.2.0
|
|
4
4
|
* @author shisyamo4131
|
|
5
|
+
* @update 2025-11-27 Add bank information fields for billing.
|
|
5
6
|
* @update 2025-11-23 Set `usePrefix` to false.
|
|
6
7
|
*/
|
|
7
8
|
import FireModel from "@shisyamo4131/air-firebase-v2";
|
|
@@ -17,30 +18,52 @@ const classProps = {
|
|
|
17
18
|
label: "会社名(カナ)",
|
|
18
19
|
required: true,
|
|
19
20
|
}),
|
|
20
|
-
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* これ以降のフィールドは管理者アカウント作成時に未入力状態で作成されるため required は未定義(false)とする
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/** 基本情報 */
|
|
21
27
|
zipcode: defField("zipcode"),
|
|
22
28
|
prefCode: defField("prefCode"),
|
|
23
29
|
city: defField("city"),
|
|
24
30
|
address: defField("address"),
|
|
25
31
|
building: defField("building"),
|
|
26
|
-
location: defField("location", { hidden: true }),
|
|
27
32
|
tel: defField("tel"),
|
|
28
33
|
fax: defField("fax"),
|
|
34
|
+
|
|
35
|
+
/** 振込先情報 */
|
|
36
|
+
bankName: defField("oneLine", { label: "銀行名", length: 20 }),
|
|
37
|
+
branchName: defField("oneLine", { label: "支店名", length: 20 }),
|
|
38
|
+
accountType: defField("select", {
|
|
39
|
+
label: "口座種別",
|
|
40
|
+
default: "普通",
|
|
41
|
+
component: {
|
|
42
|
+
name: "air-select",
|
|
43
|
+
attrs: {
|
|
44
|
+
items: ["普通", "当座"],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
}),
|
|
48
|
+
accountNumber: defField("oneLine", { label: "口座番号", length: 7 }),
|
|
49
|
+
accountHolder: defField("oneLine", { label: "口座名義", length: 50 }),
|
|
50
|
+
|
|
51
|
+
/** 会社の既定取極め */
|
|
29
52
|
agreements: defField("array", {
|
|
30
53
|
label: "既定の取極め",
|
|
31
54
|
customClass: Agreement,
|
|
32
55
|
}),
|
|
56
|
+
|
|
33
57
|
/**
|
|
34
58
|
* Field to manage the display order of site-shift type pairs for placement management.
|
|
35
59
|
* Format: { siteId, shiftType }
|
|
36
60
|
*/
|
|
37
|
-
siteOrder: defField("array", {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}),
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
*/
|
|
61
|
+
siteOrder: defField("array", { customClass: SiteOrder, hidden: true }),
|
|
62
|
+
|
|
63
|
+
/** Geolocation */
|
|
64
|
+
location: defField("location", { hidden: true }),
|
|
65
|
+
|
|
66
|
+
/** Interval in minutes used for VTimePicker's allowed-minutes. */
|
|
44
67
|
minuteInterval: defField("number", {
|
|
45
68
|
label: "時刻選択間隔(分)",
|
|
46
69
|
default: 15,
|
|
@@ -55,6 +78,8 @@ const classProps = {
|
|
|
55
78
|
},
|
|
56
79
|
},
|
|
57
80
|
}),
|
|
81
|
+
|
|
82
|
+
/** Round setting */
|
|
58
83
|
roundSetting: defField("select", {
|
|
59
84
|
label: "端数処理",
|
|
60
85
|
default: RoundSetting.ROUND,
|