Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
PSManagementUI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hasan.bahjat
PSManagementUI
Commits
9a9c19b7
Commit
9a9c19b7
authored
Aug 28, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re structure
parent
3c7b981a
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
38 additions
and
43 deletions
+38
-43
app.module.ts
src/app/app.module.ts
+1
-1
employees.module.ts
src/app/employees/employees.module.ts
+1
-1
employees-routing.module.ts
src/app/employees/routing/employees-routing.module.ts
+20
-0
add-step-modal.component.html
...nents/modals/add-step-modal/add-step-modal.component.html
+4
-4
add-step-modal.component.ts
...ponents/modals/add-step-modal/add-step-modal.component.ts
+1
-1
step-row-item.component.html
...mponents/steps/step-row-item/step-row-item.component.html
+1
-1
StepInfo.ts
src/app/projects/models/valueObjects/StepInfo.ts
+1
-1
step-list.component.ts
src/app/projects/pages/step-list/step-list.component.ts
+0
-1
project-routing.module.ts
src/app/projects/routing/project-routing.module.ts
+8
-8
sidebar.component.html
src/app/shared/sharedLayout/sidebar/sidebar.component.html
+0
-24
track-details.component.ts
...app/tracks/pages/track-details/track-details.component.ts
+1
-1
No files found.
src/app/app.module.ts
View file @
9a9c19b7
...
...
@@ -27,7 +27,7 @@ import { NgxPaginationModule } from 'ngx-pagination';
import
{
CustomerRoutingModule
}
from
'./customers/routing/customer-routing.module'
;
import
{
LoadingInterceptor
}
from
'./core/interceptors/loading.interceptor'
;
import
{
ProjectsModule
}
from
'./projects/projects.module'
;
import
{
ProjectRoutingModule
}
from
'./projects/project-routing.module'
;
import
{
ProjectRoutingModule
}
from
'./projects/
routing/
project-routing.module'
;
import
{
ProjectFAQComponent
}
from
'./pages/project-faq/project-faq.component'
;
import
{
PsmStartComponent
}
from
'./pages/psm-start/psm-start.component'
;
import
{
NgbModule
}
from
'@ng-bootstrap/ng-bootstrap'
;
...
...
src/app/employees/employees.module.ts
View file @
9a9c19b7
import
{
NgModule
}
from
'@angular/core'
;
import
{
CommonModule
}
from
'@angular/common'
;
import
{
EmployeesRoutingModule
}
from
'./employees-routing.module'
;
import
{
EmployeesRoutingModule
}
from
'./
routing/
employees-routing.module'
;
import
{
EmployeeProfileComponent
}
from
'./pages/employee-profile/employee-profile.component'
;
import
{
EmployeeParticipatesComponent
}
from
'./pages/employee-participates/employee-participates.component'
;
import
{
EmployeeParticipateComponent
}
from
'./components/employee-participate/employee-participate.component'
;
...
...
src/app/employees/employees-routing.module.ts
→
src/app/employees/
routing/
employees-routing.module.ts
View file @
9a9c19b7
import
{
HttpClient
}
from
'@angular/common/http'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
RouterModule
,
Routes
}
from
'@angular/router'
;
import
{
ConfigurationService
}
from
'../core/services/configuration/configuration.service'
;
import
{
Observable
}
from
'rxjs'
;
import
{
Result
}
from
'../core/models/result'
;
import
{
Employee
}
from
'./models/responses/employee'
;
import
{
EmployeeProfileComponent
}
from
'./pages/employee-profile/employee-profile.component'
;
import
{
EmployeeParticipateComponent
}
from
'./components/employee-participate/employee-participate.component'
;
import
{
EmployeeParticipatesComponent
}
from
'./pages/employee-participates/employee-participates.component'
;
import
{
EmployeeParticipatesComponent
}
from
'../pages/employee-participates/employee-participates.component'
;
import
{
EmployeeProfileComponent
}
from
'../pages/employee-profile/employee-profile.component'
;
const
routes
:
Routes
=
[
{
path
:
"profile"
,
component
:
EmployeeProfileComponent
},
...
...
src/app/projects/components/modals/add-step-modal/add-step-modal.component.html
View file @
9a9c19b7
...
...
@@ -18,7 +18,7 @@
<div
class=
"mb-3 col-3"
>
<label
for=
"worker"
class=
"form-label"
>
عدد العمال المطلوب
</label>
<input
id=
"worker"
class=
"form-control"
[(
ngModel
)]="
request
.
stepInfo
.
N
umberOfWorker
"
name=
"worker"
required
>
<input
id=
"worker"
class=
"form-control"
[(
ngModel
)]="
request
.
stepInfo
.
n
umberOfWorker
"
name=
"worker"
required
>
</div>
</div>
...
...
@@ -36,7 +36,7 @@
</div>
<div
class=
"mb-3 col-3"
>
<label
for=
"duration"
class=
"form-label"
>
المدة
</label>
<label
for=
"duration"
class=
"form-label"
>
المدة (أسبوع)
</label>
<input
id=
"duration"
class=
"form-control"
[(
ngModel
)]="
request
.
stepInfo
.
duration
"
name=
"duration"
required
>
</div>
...
...
@@ -46,8 +46,8 @@
</div>
</div>
<div
class=
"row "
>
<button
type=
"submit"
class=
"
btn btn-primary"
>
إضافة
</button>
<
button
class=
"btn btn-seondary"
(
click
)="
onClose
()"
>
إغلاق
</button
>
<button
type=
"submit"
[
disabled
]="
projectForm
.
invalid
"
class=
"col-5 m-4
btn btn-primary"
>
إضافة
</button>
<
div
class=
"col-5 m-4 btn btn-secondary"
(
click
)="
onClose
()"
>
إغلاق
</div
>
</div>
</form>
...
...
src/app/projects/components/modals/add-step-modal/add-step-modal.component.ts
View file @
9a9c19b7
...
...
@@ -25,7 +25,7 @@ export class AddStepModalComponent implements OnInit {
stepInfo
:
{
startDate
:
new
Date
(),
description
:
''
,
N
umberOfWorker
:
0
,
n
umberOfWorker
:
0
,
stepName
:
''
,
duration
:
0
},
...
...
src/app/projects/components/steps/step-row-item/step-row-item.component.html
View file @
9a9c19b7
...
...
@@ -20,7 +20,7 @@
<div
class=
"small mb-2 d-flex"
>
<span
class=
"text-muted mr-4 "
>
نسبة الانجاز {{step.currentCompletionRatio}}
</span>
<span
class=
"text-muted mr-4 "
>
الثقل {{step.weight}}
</span>
<span
class=
"text-muted mr-4 "
>
عدد العمال المطلوب {{step.stepInfo.
N
umberOfWorker}}
</span>
<span
class=
"text-muted mr-4 "
>
عدد العمال المطلوب {{step.stepInfo.
n
umberOfWorker}}
</span>
</div>
...
...
src/app/projects/models/valueObjects/StepInfo.ts
View file @
9a9c19b7
...
...
@@ -4,6 +4,6 @@ export interface StepInfo {
description
:
string
;
startDate
:
Date
;
duration
:
number
;
N
umberOfWorker
:
number
n
umberOfWorker
:
number
}
src/app/projects/pages/step-list/step-list.component.ts
View file @
9a9c19b7
...
...
@@ -64,7 +64,6 @@ export class StepListComponent {
}
},
(
reason
)
=>
{
this
.
toastr
.
error
(
"لقد حدث خطاء ما"
)
});
}
...
...
src/app/projects/project-routing.module.ts
→
src/app/projects/
routing/
project-routing.module.ts
View file @
9a9c19b7
import
{
NgModule
}
from
'@angular/core'
;
import
{
RouterModule
,
Routes
}
from
'@angular/router'
;
import
{
ProjectListComponent
}
from
'./pages/project-list/project-list
.component'
;
import
{
P
rojectDetailsComponent
}
from
'./pages/project-details/project-detail
s.component'
;
import
{
P
rojectCreateComponent
}
from
'./pages/project-create/project-create
.component'
;
import
{
StepListComponent
}
from
'./pages/step-list/step-list
.component'
;
import
{
P
articipantsListComponent
}
from
'./pages/participants-list/participants-list
.component'
;
import
{
FinancialSpendingComponent
}
from
'./pages/financial-spending/financial-spending
.component'
;
import
{
P
articipantChangesComponent
}
from
'./pages/participant-changes/participant-changes
.component'
;
import
{
ProjectAttachmentsComponent
}
from
'./pages/project-attachments/project-attachments
.component'
;
import
{
FinancialSpendingComponent
}
from
'../pages/financial-spending/financial-spending
.component'
;
import
{
P
articipantChangesComponent
}
from
'../pages/participant-changes/participant-change
s.component'
;
import
{
P
articipantsListComponent
}
from
'../pages/participants-list/participants-list
.component'
;
import
{
ProjectAttachmentsComponent
}
from
'../pages/project-attachments/project-attachments
.component'
;
import
{
P
rojectCreateComponent
}
from
'../pages/project-create/project-create
.component'
;
import
{
ProjectDetailsComponent
}
from
'../pages/project-details/project-details
.component'
;
import
{
P
rojectListComponent
}
from
'../pages/project-list/project-list
.component'
;
import
{
StepListComponent
}
from
'../pages/step-list/step-list
.component'
;
const
routes
:
Routes
=
[
...
...
src/app/shared/sharedLayout/sidebar/sidebar.component.html
View file @
9a9c19b7
...
...
@@ -43,30 +43,6 @@
</a>
</li>
<li
class=
"nav-heading"
>
التقارير
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link collapsed"
data-bs-target=
"#Reports-nav"
data-bs-toggle=
"collapse"
href=
"#"
>
<i
class=
"fe fe-printer"
></i><span>
إصدار تقرير
</span><i
class=
"bi bi-chevron-down ms-auto"
></i>
</a>
<ul
id=
"Reports-nav"
class=
"nav-content collapse "
data-bs-parent=
"#sidebar-nav"
>
<li>
<a
href=
"components-alerts.html"
>
<i
class=
"fe fe-circle"
></i><span>
تقرير متابعة
</span>
</a>
</li>
<li>
<a
href=
"components-accordion.html"
>
<i
class=
"fe fe-circle"
></i><span>
تقرير انجاز
</span>
</a>
</li>
<li>
<a
href=
"components-badges.html"
>
<i
class=
"fe fe-circle"
></i><span>
تقرير انشغالية
</span>
</a>
</li>
</ul>
</li>
<!-- End Components Nav -->
<li
class=
"nav-heading"
>
الجهات الطارحة
</li>
<li
class=
"nav-item"
>
...
...
src/app/tracks/pages/track-details/track-details.component.ts
View file @
9a9c19b7
...
...
@@ -189,7 +189,7 @@ export class TrackDetailsComponent implements OnInit {
stepInfo
:
s
?.
stepInfo
??
{
startDate
:
new
Date
(),
stepName
:
''
,
N
umberOfWorker
:
0
,
n
umberOfWorker
:
0
,
description
:
''
,
duration
:
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment