Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev min #19

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0c6b8a3
merlin/hourly: remove option choose in rate, add open_project router,…
Jul 6, 2020
9c9835a
merlin/hourly: update open project model
Jul 6, 2020
6477292
merlin/hourly: test project open
Jul 6, 2020
ad6e42f
merlin/hourly: add sub_data
Jul 6, 2020
fe4365f
merlin/hourly: add sub_data test
Jul 6, 2020
598ee78
merlin/hourly: rollback router
Jul 6, 2020
26dda77
merlin/hourly: backup new dev cycles and project router
Jul 7, 2020
a949f73
merlin/hourly: update tracking and change Chinese to English
Jul 7, 2020
2c7dc47
syhu/hourly: add: _model: 'account' usage
Jul 8, 2020
2999908
merlin/hourly: commit open project
Jul 8, 2020
c4ab7a2
merlin/hourly: salary sheet demo
Jul 8, 2020
8d75a2d
merlin/hourly: create analysic view
Jul 13, 2020
83850f0
merlin/hourly: set permission for each roie
Jul 13, 2020
3c59b15
add postcss config, fix: scalra, flexform versions to be stable
Jul 22, 2020
bf103ad
add: postcss.config
Jul 22, 2020
6805251
sotatek/hourly: [Hourly] Modify different tab menu for each roles
Jul 23, 2020
843d266
sotatek/hourly: [Model] query data from models with option.form method
Jul 28, 2020
140fde6
Create new UI for dev cycles.
Jul 29, 2020
fe152b8
Merge pull request #4 from oliwave/dev
Jul 30, 2020
87c03d0
Modify admin and dev showing list
Jul 30, 2020
8a676e5
Merge branch 'dev' of https://github.com/imonology/hourly into dev
Jul 30, 2020
a9fb1fa
sotatek/hourly: [Tron] debug list project show role, update drop down…
Jul 31, 2020
52b1190
Make salary_filter UI
Aug 3, 2020
28eb3be
Fix the conflict when merge.
Aug 3, 2020
48b1f38
Merge pull request #5 from oliwave/dev
Aug 4, 2020
d365d30
Update the salary calculation part.
Aug 4, 2020
702021b
Merge pull request #6 from oliwave/dev
Aug 4, 2020
da6c6cb
[Tron] refactor data query logic
Aug 4, 2020
1a0c068
Merge branch 'dev' of https://github.com/imonology/hourly into dev
Aug 4, 2020
bec605b
sotatek/hourly: [Tron] refactor data query logic
Aug 4, 2020
4e45585
sotatek/hourly: [Tron] refactor salary_filter and salart_list
Aug 7, 2020
7c3daf8
sotatek/hourly: [Tron] refactor salary_filter filter by project
Aug 10, 2020
15014ed
last changes by Tron
Dec 8, 2021
d648fd9
fix: organization display
Dec 15, 2021
999dcc2
conflict solved
Debojyoti1915001 Dec 15, 2021
082f3f7
update scalra-flexform
Debojyoti1915001 Dec 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions api/_role.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module.exports = [
{
name: 'admin',
label: '管理員',
label: 'admin',
},
{
name: 'client',
label: '使用者',
label: 'client',
default: true,
},
{
name: 'PM',
label: 'PM',
name: 'pm',
label: 'pm',
},
{
name: 'developer',
label: 'Developer',
label: 'developer',
},
];
27 changes: 13 additions & 14 deletions api/models/case.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
module.exports = {
name: '案件',
name: 'Case',
fields: {
applicant: {
name: '案件名稱',
name: 'Case name',
type: 'string',
desc: '',
must: true,
show: true,
required: true,
},
pm_hour: {
name: 'PM 時數',
name: 'PM Hours',
type: 'number',
desc: '',
must: true,
show: false,
required: false,
},
dev_hour: {
name: 'Dev 時數',
name: 'Dev Hours',
type: 'number',
desc: '',
must: true,
show: false,
required: false,
},
sub_data: {
name: '多筆資料',
name: 'Multiple data',
type: 'sub_model',
must: false,
must: true,
show: true,
required: false,
forbid_delete: false,
required: true,
fields: {
data1: {
name: '單據名',
name: 'Document name',
type: 'string',
desc: '',
must: true,
Expand All @@ -55,7 +54,7 @@ module.exports = {
}`,
},
data2: {
name: '文件項目',
name: 'Document project',
type: 'choice',
desc: '',
must: true,
Expand All @@ -64,24 +63,24 @@ module.exports = {
option: [
{
value: 'category1',
text: '類別1',
text: 'Category 1',
},
{
value: 'category2',
text: '類別2',
text: 'Category 2',
},
],
},
data3: {
name: '文件描述1',
name: 'Document description',
type: 'string',
desc: '',
must: true,
show: true,
required: false,
},
boo3: {
name: '是否',
name: 'Whether',
type: 'boolean',
shape: 'checkbox',
desc: '',
Expand Down
10 changes: 9 additions & 1 deletion api/models/dev_cycles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
name: '案件',
name: 'dev cycle',
fields: {
applicant: {
name: 'Cycle name',
Expand All @@ -9,6 +9,14 @@ module.exports = {
show: true,
required: true,
},
description: {
name: 'Description',
type: 'string',
desc: '',
must: true,
show: true,
required: false,
},
pm_hour: {
name: 'PM hour',
type: 'number',
Expand Down
35 changes: 35 additions & 0 deletions api/models/dev_cycles_custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
module.exports = {
name: 'Dev cycle',
fields: {
project: {
name: 'Cycle name',
type: 'string',
desc: '',
show: true,
required: true,
},
desc: {
name: 'Description',
type: 'textarea',
row: 5,
desc: '',
show: true,
require: false
},
pm_hour: {
name: 'PM hour',
type: 'number',
desc: '',
show: true,
required: false,
},
dev_hour: {
name: 'Dev hour',
type: 'number',
desc: '',
show: true,
required: false,
},

},
};
10 changes: 5 additions & 5 deletions api/models/hourly_rate.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
name: '每小時費用',
name: 'Hourly fee',
fields: {
role: {
name: '身份別',
identity: {
name: 'Identity',
type: 'string',
desc: '',
unique: true,
Expand All @@ -11,7 +11,7 @@ module.exports = {
required: true,
},
hourly_rate: {
name: '費用',
name: 'Cost',
type: 'number',
desc: '',
unique: true,
Expand All @@ -20,7 +20,7 @@ module.exports = {
required: true,
},
desc: {
name: '說明',
name: 'Explanation',
type: 'textarea',
row: 5,
desc: '',
Expand Down
12 changes: 6 additions & 6 deletions api/models/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
name: '基本資料',
fields: {
name: {
name: '姓名',
name: 'Name',
type: 'string',
desc: '',
unique: true,
Expand All @@ -11,7 +11,7 @@ module.exports = {
required: true,
},
person_id: {
name: '身份證字號',
name: 'Id number',
type: 'string',
desc: '',
unique: true,
Expand All @@ -20,7 +20,7 @@ module.exports = {
required: true,
},
sex: {
name: '性別',
name: 'Sex',
type: 'choice',
desc: '',
must: true,
Expand All @@ -46,23 +46,23 @@ module.exports = {
required: false,
},
address: {
name: '地址',
name: 'Address',
type: 'string',
desc: '',
must: true,
show: true,
required: false,
},
account: {
name: '帳號',
name: 'Account',
type: 'string',
desc: '',
must: false,
show: false,
required: false,
},
desc: {
name: '說明',
name: 'Description',
type: 'textarea',
row: 5,
desc: '',
Expand Down
35 changes: 35 additions & 0 deletions api/models/organization.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
module.exports = {
name: 'organization',
fields: {
company_name: {
name: 'Name',
type: 'string',
desc: '',
must: true,
show: true,
required: true,
},
description: {
name: 'Description',
type: 'textarea',
row: 3,
desc: '',
must: true,
show: true,
require: false
},
address: {
name: 'Address',
type: 'string',
must: true,
show: true,
required: false,
},
// month_time: {
// name: 'Month Time',
// type: 'date',
// must: true,
// show: true,
// },
}
};
Loading