Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ForexWeb
Project
Overview
Details
Activity
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
amal
ForexWeb
Commits
75033ba7
Commit
75033ba7
authored
Mar 21, 2019
by
Ajil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
21-03-2019
parent
fc72bf35
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
387 additions
and
324 deletions
+387
-324
sample.html
sample.html
+19
-0
app.component.ts
src/app/app.component.ts
+2
-0
addforex.component.html
src/app/checker/addforex/addforex.component.html
+7
-4
addforex.component.ts
src/app/checker/addforex/addforex.component.ts
+4
-2
addprovider.component.html
src/app/checker/addprovider/addprovider.component.html
+8
-6
addprovider.component.ts
src/app/checker/addprovider/addprovider.component.ts
+4
-2
currency-add.component.html
src/app/checker/currency-add/currency-add.component.html
+2
-2
currency-edit.component.html
src/app/checker/currency-edit/currency-edit.component.html
+1
-1
currency-list.component.html
src/app/checker/currency-list/currency-list.component.html
+6
-2
currency-list.component.ts
src/app/checker/currency-list/currency-list.component.ts
+5
-0
editforex.component.html
src/app/checker/editforex/editforex.component.html
+4
-4
editprovider.component.html
src/app/checker/editprovider/editprovider.component.html
+7
-7
editprovider.component.ts
src/app/checker/editprovider/editprovider.component.ts
+1
-1
add-driver.component.html
src/app/delivery/add-driver/add-driver.component.html
+7
-4
add-driver.component.ts
src/app/delivery/add-driver/add-driver.component.ts
+4
-2
edit-driver.component.html
src/app/delivery/edit-driver/edit-driver.component.html
+1
-1
editprovider.component.html
src/app/delivery/editprovider/editprovider.component.html
+1
-1
transaction.component.html
src/app/delivery/transaction/transaction.component.html
+4
-4
currency.component.html
src/app/forex/currency/currency.component.html
+5
-2
editprovider.component.html
src/app/forex/editprovider/editprovider.component.html
+2
-2
transaction.component.html
src/app/forex/transaction/transaction.component.html
+2
-0
validation.service.ts
src/app/providers/validation.service.ts
+4
-2
login.component.html
src/app/start/login/login.component.html
+2
-2
login.component.ts
src/app/start/login/login.component.ts
+1
-1
ar.json
src/assets/i18n/ar.json
+266
-265
en.json
src/assets/i18n/en.json
+8
-7
styles.scss
src/styles.scss
+10
-0
No files found.
sample.html
0 → 100644
View file @
75033ba7
<html>
<head>
<style>
.input_container
{
width
:
100%
;
}
</style>
</head>
<body>
<div
class=
"input_container"
>
<input
class=
""
placeholder=
"sample"
>
<div
class=
"message"
>
Sample message
</div>
</div>
</body>
</html>
\ No newline at end of file
src/app/app.component.ts
View file @
75033ba7
...
...
@@ -38,6 +38,8 @@ export class AppComponent {
$
(
'body'
).
removeClass
(
'ar'
);
}
this
.
lang
=
'en'
;
translate
.
setDefaultLang
(
this
.
lang
);
// the lang to use, if the lang isn't available, it will use the current loader to get them
...
...
src/app/checker/addforex/addforex.component.html
View file @
75033ba7
...
...
@@ -85,6 +85,9 @@
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['cr_id'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['cr_id'].hasError('required')"
>
{{error_msg.required}}
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['cr_id'].valid && providerForm.controls['cr_id'].touched"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['cr_id'].hasError('pattern')"
>
{{error_msg.crId}}
</div>
</div>
</div>
<div
class=
"col"
>
<div
class=
"provider_data_content"
>
...
...
@@ -121,8 +124,8 @@
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerForm.controls['phone'].touched && !providerForm.controls['phone'].hasError('pattern')"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 1
5
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}}
8
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 1
0
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}}
10
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('required')"
>
{{error_msg.required}}
</div>
...
...
@@ -149,8 +152,8 @@
<p>
{{'addforex.Status' | translate}}
</p>
<select
class=
"provider_input"
formControlName=
"online_status"
>
<option
disabled
hidden
>
{{'addforex.Status' | translate}}
</option>
<option
value=
"1"
>
{{'addforex.Online' | translate}}
</option>
<option
value=
"0"
>
{{'addforex.Offline' | translate}}
</option>
<option
value=
"1"
>
Online
</option>
<option
value=
"0"
>
Offline
</option>
</select>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['online_status'].valid && providerSubmit"
>
...
...
src/app/checker/addforex/addforex.component.ts
View file @
75033ba7
...
...
@@ -11,10 +11,11 @@ import { FormControl, FormGroup, FormBuilder, Validators, ValidationErrors } fro
})
export
class
AddforexComponent
implements
OnInit
{
providerForm
:
FormGroup
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{
8,15
}$'
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{
9,10
}$'
;
emailPattern
=
'^[a-z0-9._%+-]+@[a-z0-9.-]+
\
.[a-z]{2,4}$'
;
contactPattern
=
'[a-zA-Z ]*'
;
providerSubmit
:
boolean
;
crId
=
'^((
\\
+?)|0)?[0-9]{10}$'
;
lang
=
'en'
;
error_msg
:
any
[];
funcName
:
any
;
...
...
@@ -43,7 +44,7 @@ export class AddforexComponent implements OnInit {
this
.
providerForm
=
this
.
formBuilder
.
group
({
'name'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_manager'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
this
.
crId
)
])],
'contact'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
'^[a-zA-Z
\
-
\'
]+'
)])],
'location'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'email_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
maxLength
(
50
),
Validators
.
pattern
(
this
.
emailPattern
)])],
...
...
@@ -82,6 +83,7 @@ export class AddforexComponent implements OnInit {
this
.
success
=
true
;
this
.
providerSubmit
=
false
;
this
.
providerForm
.
reset
();
this
.
providerForm
.
controls
[
'type'
].
setValue
(
2
);
}
else
{
this
.
error
=
true
;
this
.
responseError
=
this
.
vs
.
errorCode
[
this
.
lang
][
response
.
errorCode
];
...
...
src/app/checker/addprovider/addprovider.component.html
View file @
75033ba7
...
...
@@ -27,11 +27,11 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'addprovider.Success!
' | translate}}
</strong>
{{'addprovider.Provider created successfully.
' | translate}}
<strong>
{{'addprovider.Success!
' | translate}}
</strong>
{{'addprovider.Provider created successfully
' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'addprovider.Warning!
' | translate}}
</strong>
{{responseError}}
<strong>
{{'addprovider.Warning!' | translate}}
</strong>
{{responseError}}
</div>
<form
[
formGroup
]="
providerForm
"
(
ngSubmit
)="
regProcess
()"
autocomplete=
"off"
>
<div
class=
"row"
>
...
...
@@ -80,11 +80,14 @@
<div
class=
"col"
>
<div
class=
"provider_data_content"
>
<p>
{{'addprovider.CR ID' | translate}}
</p>
<input
class=
"provider_input"
placeholder=
""
type=
"
text
"
formControlName=
"cr_id"
>
<input
class=
"provider_input"
placeholder=
""
type=
"
number
"
formControlName=
"cr_id"
>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['cr_id'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['cr_id'].hasError('required')"
>
{{error_msg.required}}
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['cr_id'].valid && providerForm.controls['cr_id'].touched"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['cr_id'].hasError('pattern')"
>
{{error_msg.crId}}
</div>
</div>
</div>
<div
class=
"col"
>
<div
class=
"provider_data_content"
>
...
...
@@ -118,9 +121,8 @@
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('pattern')"
>
{{error_msg.phone}}
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerForm.controls['phone'].touched && !providerForm.controls['phone'].hasError('pattern')"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 15
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}} 8
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 10
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}} 10
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('required')"
>
{{error_msg.required}}
</div>
...
...
src/app/checker/addprovider/addprovider.component.ts
View file @
75033ba7
...
...
@@ -11,7 +11,8 @@ import { FormControl, FormGroup, FormBuilder, Validators, ValidationErrors } fro
})
export
class
AddproviderComponent
implements
OnInit
{
providerForm
:
FormGroup
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{8,15}$'
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{9,10}$'
;
crId
=
'^((
\\
+?)|0)?[0-9]{10}$'
;
emailPattern
=
'^[a-z0-9._%+-]+@[a-z0-9.-]+
\
.[a-z]{2,4}$'
;
providerSubmit
:
boolean
;
lang
=
'en'
;
...
...
@@ -40,7 +41,7 @@ export class AddproviderComponent implements OnInit {
this
.
providerForm
=
this
.
formBuilder
.
group
({
'name'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_manager'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
this
.
crId
)
])],
'contact'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
'^[a-zA-Z
\
-
\'
]+'
)])],
'location'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'email_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
maxLength
(
50
),
Validators
.
pattern
(
this
.
emailPattern
)])],
...
...
@@ -77,6 +78,7 @@ export class AddproviderComponent implements OnInit {
this
.
success
=
true
;
this
.
providerSubmit
=
false
;
this
.
providerForm
.
reset
();
this
.
providerForm
.
controls
[
'type'
].
setValue
(
3
);
}
else
{
this
.
error
=
true
;
this
.
responseError
=
this
.
vs
.
errorCode
[
this
.
lang
][
response
.
errorCode
];
...
...
src/app/checker/currency-add/currency-add.component.html
View file @
75033ba7
...
...
@@ -26,7 +26,7 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'currencyadd.Success!' | translate}}
</strong>
{{'currencyadd.Currency added successfully.' | translate}}
<strong>
{{'currencyadd.Success!' | translate}}
</strong>
Currency added successfully
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
...
...
@@ -79,7 +79,7 @@
<div
class=
"col"
>
<div
class=
"provider_data_content"
>
<p>
{{'currencyadd.Forex
Amount Start From
' | translate}}
</p>
<p>
{{'currencyadd.Forex
Multiple
' | translate}}
</p>
<input
class=
"provider_input"
placeholder=
""
type=
"number"
formControlName=
"start_from"
>
</div>
<div
class=
"s_error"
*
ngIf=
"!currencyForm.controls['start_from'].valid && currencySubmit"
>
...
...
src/app/checker/currency-edit/currency-edit.component.html
View file @
75033ba7
...
...
@@ -26,7 +26,7 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'currencyedit.Success!' | translate}}
</strong>
{{'currencyedit.Currency
added successfully.
' | translate}}
<strong>
{{'currencyedit.Success!' | translate}}
</strong>
{{'currencyedit.Currency
updated successfully
' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
...
...
src/app/checker/currency-list/currency-list.component.html
View file @
75033ba7
...
...
@@ -29,7 +29,7 @@
</div>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'currencylist.Success!' | translate}}
</strong>
{{'currencylist.Currency removed successfully
' | translate}}
<strong>
{{'currencylist.Success!' | translate}}
</strong>
{{'currencylist.Currency removed successfully' | translate}}
</div>
<table
class=
"table"
>
<thead>
...
...
@@ -37,7 +37,8 @@
<th>
{{'currencylist.Name' | translate}}
</th>
<th>
{{'currencylist.Symbol' | translate}}
</th>
<th>
{{'currencylist.Rate' | translate}}
</th>
<th>
{{'currencylist.Forex Start from' | translate}}
</th>
<th>
{{'currencylist.Forex Multiple' | translate}}
</th>
<th>
{{'currencylist.Flag' | translate}}
</th>
<th
class=
"textRight"
>
<button
class=
"add"
(
click
)="
goToPage
('
checker
/
currency_add
')"
>
+
</button>
</th>
...
...
@@ -49,6 +50,9 @@
<td>
{{currency.symbol}}
</td>
<td>
{{currency.rate}}
</td>
<td>
{{currency.start_from}}
</td>
<td>
<img
[
src
]="
getImage
(
currency
.
flag
)"
onerror=
"this.src= 'assets/images/asset_denied.png'"
>
</td>
<td
class=
"textRight"
>
<button
class=
"edit_btn"
(
click
)="
editClick
(
currency
.
id
)"
></button>
<button
class=
"delete_btn"
(
click
)="
deleteClick
(
currency
.
id
)"
></button>
...
...
src/app/checker/currency-list/currency-list.component.ts
View file @
75033ba7
...
...
@@ -2,6 +2,7 @@ import { Component, OnInit } from '@angular/core';
import
{
Router
,
ActivatedRoute
}
from
'@angular/router'
;
import
{
WebService
}
from
'./../../providers/web.service'
;
import
{
ValidationService
}
from
'./../../providers/validation.service'
;
import
{
ImageStorage
}
from
'../../../environments/server.config'
;
@
Component
({
...
...
@@ -100,4 +101,8 @@ export class CurrencyListComponent implements OnInit {
this
.
service
.
logout
();
}
getImage
(
image_url
)
{
return
ImageStorage
+
image_url
;
}
}
src/app/checker/editforex/editforex.component.html
View file @
75033ba7
...
...
@@ -24,11 +24,11 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'editforex.Success!
' | translate}}
</strong>
{{'editforex.Provider updated successfully.
' | translate}}
<strong>
{{'editforex.Success!
' | translate}}
</strong>
{{'editforex.Provider updated successfully
' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'editforex.Warning!
' | translate}}
</strong>
{{responseMsg}}
<strong>
{{'editforex.Warning!' | translate}}
</strong>
{{responseMsg}}
</div>
<form
[
formGroup
]="
providerForm
"
(
ngSubmit
)="
editProcess
()"
autocomplete=
"off"
>
<div
class=
"row"
>
...
...
@@ -113,8 +113,8 @@
<div
class=
"provider_data_content"
>
<p>
{{'editforex.Status' | translate}}
</p>
<select
class=
"provider_input"
formControlName=
"online_status"
>
<option
value=
"1"
>
{{'editforex.Online' | translate}}
</option>
<option
value=
"0"
>
{{'editforex.Offline' | translate}}
</option>
<option
value=
"1"
>
Online
</option>
<option
value=
"0"
>
Offline
</option>
</select>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['online_status'].valid && providerSubmit"
>
...
...
src/app/checker/editprovider/editprovider.component.html
View file @
75033ba7
...
...
@@ -4,7 +4,7 @@
<header
class=
"provider_header"
>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<h4>
{{'editprovider.Forex Delivery Service Provider
' | translate}}
</h4>
<h4>
{{'editprovider.Forex Delivery Service Provider' | translate}}
</h4>
</div>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
(
click
)="
goToPage
('
checker
/
home
')"
>
...
...
@@ -24,7 +24,7 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'editprovider.Success!' | translate}}
</strong>
{{'editprovider.Provider updated successfully
.
' | translate}}
<strong>
{{'editprovider.Success!' | translate}}
</strong>
{{'editprovider.Provider updated successfully' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
...
...
@@ -34,7 +34,7 @@
<div
class=
"row"
>
<div
class=
"col"
>
<div
class=
"provider_data_content"
*
ngIf=
"provider"
>
<p>
{{'editprovider.Provider Name
' | translate}}
</p>
<p>
{{'editprovider.Provider Name' | translate}}
</p>
<input
class=
"provider_input"
placeholder=
""
type=
"text"
disabled
[
value
]="
provider
.
name
"
>
</div>
</div>
...
...
@@ -51,7 +51,7 @@
<div
class=
"col"
>
<div
class=
"provider_data_content"
*
ngIf=
"provider"
>
<p>
{{'editprovider.CR ID' | translate}}
</p>
<input
class=
"provider_input"
placeholder=
""
type=
"text"
disabled
[
value
]="
provider
.
cr_id
"
>
<input
class=
"provider_input"
placeholder=
""
type=
"text"
disabled
[
value
]="
provider
.
cr_id
"
maxlength=
"10"
>
</div>
</div>
</div>
...
...
@@ -80,15 +80,15 @@
<div
class=
"col"
>
<div
class=
"provider_data_content"
>
<p>
{{'editprovider.Phone' | translate}}
</p>
<input
class=
"provider_input"
placeholder=
""
type=
"number"
formControlName=
"phone"
>
<input
class=
"provider_input"
placeholder=
""
type=
"number"
formControlName=
"phone"
maxlength=
"10"
>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerForm.controls['phone'].touched"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('pattern')"
>
{{error_msg.phone}}
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerForm.controls['phone'].touched && !providerForm.controls['phone'].hasError('pattern')"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 1
5
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}}
8
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 1
0
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}}
10
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('required')"
>
{{error_msg.required}}
</div>
...
...
src/app/checker/editprovider/editprovider.component.ts
View file @
75033ba7
...
...
@@ -18,7 +18,7 @@ export class EditproviderComponent implements OnInit {
success
:
boolean
;
loader
:
boolean
;
providerForm
:
FormGroup
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{
8,15
}$'
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{
9,10
}$'
;
emailPattern
=
'^[a-z0-9._%+-]+@[a-z0-9.-]+
\
.[a-z]{2,4}$'
;
providerSubmit
:
boolean
;
error_msg
:
any
[];
...
...
src/app/delivery/add-driver/add-driver.component.html
View file @
75033ba7
...
...
@@ -26,11 +26,11 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'adddriver.Success!' | translate}}
</strong>
{{'adddriver.Provider created successfully
.
' | translate}}
<strong>
{{'adddriver.Success!' | translate}}
</strong>
{{'adddriver.Provider created successfully' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'adddriver.Warning!
' | translate}}
</strong>
{{responseError}}
<strong>
{{'adddriver.Warning!' | translate}}
</strong>
{{responseError}}
</div>
<form
[
formGroup
]="
providerForm
"
(
ngSubmit
)="
regProcess
()"
autocomplete=
"off"
>
<div
class=
"row"
>
...
...
@@ -84,6 +84,9 @@
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['cr_id'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['cr_id'].hasError('required')"
>
{{error_msg.required}}
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['cr_id'].valid && providerForm.controls['cr_id'].touched"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['cr_id'].hasError('pattern')"
>
{{error_msg.crId}}
</div>
</div>
</div>
<div
class=
"col"
>
<div
class=
"provider_data_content"
>
...
...
@@ -117,8 +120,8 @@
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerForm.controls['phone'].touched && !providerForm.controls['phone'].hasError('pattern')"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 1
5
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}}
8
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('maxlength')"
>
{{error_msg.maxLength}} 1
0
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('minlength')"
>
{{error_msg.minLength}}
10
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['phone'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['phone'].hasError('required')"
>
{{error_msg.required}}
</div>
...
...
src/app/delivery/add-driver/add-driver.component.ts
View file @
75033ba7
...
...
@@ -11,7 +11,8 @@ import { FormControl, FormGroup, FormBuilder, Validators, ValidationErrors } fro
})
export
class
AddDriverComponent
implements
OnInit
{
providerForm
:
FormGroup
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{8,15}$'
;
mobnumPattern
=
'^((
\\
+?)|0)?[0-9]{9,10}$'
;
crId
=
'^((
\\
+?)|0)?[0-9]{10}$'
;
emailPattern
=
'^[a-z0-9._%+-]+@[a-z0-9.-]+
\
.[a-z]{2,4}$'
;
providerSubmit
:
boolean
;
lang
=
'en'
;
...
...
@@ -45,7 +46,7 @@ export class AddDriverComponent implements OnInit {
this
.
providerForm
=
this
.
formBuilder
.
group
({
'name'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_manager'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'cr_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
this
.
crId
)
])],
'location'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'email_id'
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
maxLength
(
50
),
Validators
.
pattern
(
this
.
emailPattern
)])],
// tslint:disable-next-line:max-line-length
...
...
@@ -82,6 +83,7 @@ export class AddDriverComponent implements OnInit {
this
.
success
=
true
;
this
.
providerSubmit
=
false
;
this
.
providerForm
.
reset
();
this
.
providerForm
.
controls
[
'type'
].
setValue
(
4
);
}
else
{
this
.
error
=
true
;
this
.
responseError
=
this
.
vs
.
errorCode
[
this
.
lang
][
response
.
errorCode
];
...
...
src/app/delivery/edit-driver/edit-driver.component.html
View file @
75033ba7
...
...
@@ -24,7 +24,7 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'editdriver.Success!' | translate}}
</strong>
{{'editdriver.Forex Delivery Driver updated successfully
.
' | translate}}
<strong>
{{'editdriver.Success!' | translate}}
</strong>
{{'editdriver.Forex Delivery Driver updated successfully' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
...
...
src/app/delivery/editprovider/editprovider.component.html
View file @
75033ba7
...
...
@@ -24,7 +24,7 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'editprovider.Success!' | translate}}
</strong>
{{'editprovider.Provider updated successfully
.
' | translate}}
<strong>
{{'editprovider.Success!' | translate}}
</strong>
{{'editprovider.Provider updated successfully' | translate}}
</div>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
...
...
src/app/delivery/transaction/transaction.component.html
View file @
75033ba7
...
...
@@ -27,11 +27,11 @@
<div
class=
"provider_inner_content"
>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"error"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'transaction.Warning
!
' | translate}}
</strong>
{{responseMsg}}
<strong>
{{'transaction.Warning' | translate}}
</strong>
{{responseMsg}}
</div>
<div
class=
"alert alert-success alert-dismissible"
*
ngIf=
"success"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'transaction.Success
!
' | translate}}
</strong>
{{'transaction.Forex provider removed successfully' | translate}}
<strong>
{{'transaction.Success' | translate}}
</strong>
{{'transaction.Forex provider removed successfully' | translate}}
</div>
<div
class=
"table-responsive"
>
<table
class=
"table"
>
...
...
@@ -57,7 +57,7 @@
<td>
{{tansaction.currency}}
</td>
<td>
SAR {{tansaction.amount}}
</td>
<td>
{{tansaction.symbol + tansaction.convert_price}}
</td>
<td>
</td>
<td>
{{tansaction.book_date}}
</td>
<td>
{{getCustomer(tansaction.driver_info,'name') | titlecase}}
</td>
<td>
{{get_status(tansaction.status)}}
</td>
<td><button
class=
"edit_btn"
data-toggle=
"modal"
data-target=
"#edit"
(
click
)="
assignClick
(
i
)"
*
ngIf=
"tansaction.status !=3 && tansaction.status !=0"
></button></td>
...
...
@@ -83,7 +83,7 @@
<div
class=
"forex_modal_wrapper"
>
<div
class=
"alert alert-danger alert-dismissible"
*
ngIf=
"assignError"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'transaction.Warning!
' | translate}}
</strong>
{{'transaction. Assign Driver failed' | translate}}
<strong>
{{'transaction.Warning!' | translate}}
</strong>
{{'transaction. Assign Driver failed' | translate}}
</div>
<div
class=
"forex_modal_header"
>
<h5
class=
"floatLeft"
>
{{'transaction.Assign Driver' | translate}}
</h5>
...
...
src/app/forex/currency/currency.component.html
View file @
75033ba7
...
...
@@ -29,6 +29,7 @@
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
{{'currency.Success' | translate}}!
</strong>
{{'currency.Currency assigned successfully' | translate}}
</div>
<form
[
formGroup
]="
currencyForm
"
novalidate
(
ngSubmit
)="
currency_assign
()"
>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<div
class=
"row"
>
...
...
@@ -57,9 +58,10 @@
</div>
</div>
</div>
<div
class=
"col-md-2"
></div>
<div
class=
"col-md-4"
>
<form
[
formGroup
]="
currencyForm
"
novalidate
(
ngSubmit
)="
currency_assign
()"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<p>
{{'currency.Save' | translate}}Rates
</p>
...
...
@@ -89,7 +91,7 @@
<input class="" type="number">
</div>
</div> -->
</form>
</div>
</div>
<div
class=
"row"
*
ngIf=
"selectedList.length > 0"
>
...
...
@@ -101,6 +103,7 @@
</div>
</div>
</div>
</form>
</div>
</div>
...
...
src/app/forex/editprovider/editprovider.component.html
View file @
75033ba7
...
...
@@ -113,8 +113,8 @@
<div
class=
"provider_data_content"
>
<p>
{{'editprovider.Status' | translate}}
</p>
<select
class=
"provider_input"
formControlName=
"online_status"
>
<option
value=
"1"
>
{{'editprovider.Online' | translate}}
</option>
<option
value=
"0"
>
{{'editprovider.Offline' | translate}}
</option>
<option
value=
"1"
>
Online
</option>
<option
value=
"0"
>
Offline
</option>
</select>
</div>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['online_status'].valid && providerSubmit"
>
...
...
src/app/forex/transaction/transaction.component.html
View file @
75033ba7
...
...
@@ -38,6 +38,7 @@
<thead>
<tr>
<th>
{{'transaction.User Info' | translate}}
</th>
<th>
{{'transaction.Date' | translate}}
</th>
<th>
{{'transaction.Phone' | translate}}
</th>
<th>
{{'transaction.Location' | translate}}
</th>
<th>
{{'transaction.Currency' | translate}}
</th>
...
...
@@ -50,6 +51,7 @@
<tbody
*
ngIf=
"transactionList"
>
<tr
*
ngFor=
"let tansaction of transactionList"
>
<td>
{{getCustomer(tansaction.user_info,'name') | titlecase}}
</td>
<td>
{{tansaction.book_date}}
</td>
<td>
{{getCustomer(tansaction.user_info,'phone') | titlecase}}
</td>
<td>
{{getCustomer(tansaction.user_info,'location') | titlecase}}
</td>
<td>
{{tansaction.currency}}
</td>
...
...
src/app/providers/validation.service.ts
View file @
75033ba7
...
...
@@ -20,7 +20,8 @@ export class ValidationService {
'min'
:
'العمر الأدنى تبدأ في'
,
'max'
:
'العمر القصوى في نهاية'
,
'confirm'
:
'عدم تطابق كلمة المرور'
,
'pattern'
:
'نمط غير صالح'
'pattern'
:
'نمط غير صالح'
,
'crId'
:
'Invalid CR ID'
};
this
.
errorList
[
'en'
]
=
{
'required'
:
'This field is required'
,
...
...
@@ -32,7 +33,8 @@ export class ValidationService {
'min'
:
'Age min start at '
,
'max'
:
'Age max end at '
,
'confirm'
:
'Password mismatch'
,
'pattern'
:
'Invalid Pattern'
'pattern'
:
'Invalid Pattern'
,
'crId'
:
'Invalid CR ID'
};
this
.
errorCode
[
'en'
]
=
{
...
...
src/app/start/login/login.component.html
View file @
75033ba7
...
...
@@ -41,7 +41,7 @@
<div
class=
"login_row"
>
<h6
(
click
)="
goToPage
('
start
/
forgot
')"
>
{{'login.Forgot Password' | translate}}
</h6>
</div>
<div
class=
"login_row"
>
<
!---
div class="login_row">
<p class="textCenter" style="text-align:center !important;">{{'login.Choose Language' | translate}}</p>
<br>
...
...
@@ -49,7 +49,7 @@
<option value="0" selected>English</option>
<option value="1">Arabic</option>
</select>
</div>
</div
--
>
</div>
</div>
</div>
...
...
src/app/start/login/login.component.ts
View file @
75033ba7
...
...
@@ -43,7 +43,7 @@ export class LoginComponent implements OnInit {
)
{
//this.language.nativeElement.value = this.service.getLocalStorageItem('lang');
this
.
lang
=
this
.
service
.
getLocalStorageItem
(
'lang'
);
//
this.lang = this.service.getLocalStorageItem('lang');
this
.
error_msg
=
this
.
vs
.
errorList
[
this
.
lang
];
console
.
log
(
this
.
error_msg
);
this
.
passwordErr
=
false
;
...
...
src/assets/i18n/ar.json
View file @
75033ba7
{
"login"
:{
"Enter Your 6-Digit PIN"
:
"
أدخل رقم التعريف الشخصي المكون من 6 أرقام
"
,
"Email Address"
:
"
عنوان بريد الكتروني
"
,
"Login"
:
"
تسجيل الدخول
"
,
"Forgot Password"
:
"
هل نسيت كلمة المرور
"
,
"Choose Language"
:
"
اختر اللغة
"
"Enter Your 6-Digit PIN"
:
"
Enter Your 6-Digit PIN
"
,
"Email Address"
:
"
Email Address
"
,
"Login"
:
"
Login
"
,
"Forgot Password"
:
"
Forgot Password
"
,
"Choose Language"
:
"
Choose Language
"
},
"forgot"
:{
"Forgot your PIN"
:
"
نسيت رقم التعريف الشخصي
"
,
"Email Address"
:
"
عنوان بريد الكتروني
"
,
"SEND ME THE LINK"
:
"
ترسل لي الرابط
"
"Forgot your PIN"
:
"
Forgot your PIN
"
,
"Email Address"
:
"
Email Address
"
,
"SEND ME THE LINK"
:
"
SEND ME THE LINK
"
},
"invalid"
:{
"Access Denied"
:
"
تم الرفض
"
,
"Go Back"
:
"
عد
"
"Access Denied"
:
"
Access Denied
"
,
"Go Back"
:
"
Go Back
"
},
"newpin"
:{
"New PIN"
:
"
دبوس جديد
"
,
"Confirm PIN"
:
"
تأكيد
PIN"
,
"Cancel"
:
"
إلغاء
"
,
"Save"
:
"
حفظ
"
"New PIN"
:
"
New PIN
"
,
"Confirm PIN"
:
"
Confirm
PIN"
,
"Cancel"
:
"
Cancel
"
,
"Save"
:
"
Save
"
},
"addforex"
:{
"Forex Delivery Service Provider"
:
"
فوركس مزود خدمة التوصيل
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Add Delivery Provider"
:
"
إضافة مزود التسليم
"
,
"Success!"
:
"
نجاح
"
,
"Provider created successfully"
:
"
تم إنشاء مزود بنجاح
"
,
"Warning"
:
"
تحذير
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Pin"
:
"
دبوس
"
,
"Confirm Pin"
:
"
تأكيد PIN
"
,
"Location"
:
"
موقعك
"
,
"CR ID"
:
"
رقم السجل التجاري
"
,
"CR Manager"
:
"
مدير CR
"
,
"Contact Name"
:
"
اسم جهة الاتصال
"
,
"Phone"
:
"
هاتف
"
,
"Email id"
:
"
عنوان الايميل
"
,
"Status"
:
"
الحالة
"
,
"Delivery Provider"
:
"
مزود التسليم
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
"Forex Delivery Service Provider"
:
"
Forex Provider
"
,
"Change PIN"
:
"
Change PIN
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Add Delivery Provider"
:
"
Add Provider
"
,
"Success!"
:
"
Success
"
,
"Provider created successfully"
:
"
Provider created successfully
"
,
"Warning"
:
"
Warning
"
,
"Provider Name"
:
"
Provider Name
"
,
"Pin"
:
"
Pin
"
,
"Confirm Pin"
:
"
Confirm Pin
"
,
"Location"
:
"
Location
"
,
"CR ID"
:
"
CR ID
"
,
"CR Manager"
:
"
CR Manager
"
,
"Contact Name"
:
"
Contact Name
"
,
"Phone"
:
"
Phone
"
,
"Email id"
:
"
Email id
"
,
"Status"
:
"
Status
"
,
"Delivery Provider"
:
"
Delivery Provider
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
},
"addprovider"
:{
"Forex Delivery Service Provider"
:
"
فوركس مزود خدمة التوصيل
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Add Delivery Provider"
:
"
إضافة مزود التسليم
"
,
"Success!"
:
"
نجاح
"
,
"Provider created successfully"
:
"
تم إنشاء مزود بنجاح
"
,
"Warning!"
:
"
تحذير
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Pin"
:
"
دبوس
"
,
"Confirm Pin"
:
"
تأكيد PIN
"
,
"Location"
:
"
موقعك
"
,
"CR ID"
:
"
رقم السجل التجاري
"
,
"CR Manager"
:
"
مدير CR
"
,
"Contact Name"
:
"
اسم جهة الاتصال
"
,
"Phone"
:
"
هاتف
"
,
"Email id"
:
"
عنوان الايميل
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
"Forex Delivery Service Provider"
:
"
Forex Delivery Service Provider
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Add Delivery Provider"
:
"
Add Delivery Provider
"
,
"Success!"
:
"
Success
"
,
"Provider created successfully"
:
"
Provider created successfully
"
,
"Warning!"
:
"
Warning!
"
,
"Provider Name"
:
"
Provider Name
"
,
"Pin"
:
"
Pin
"
,
"Confirm Pin"
:
"
Confirm Pin
"
,
"Location"
:
"
Location
"
,
"CR ID"
:
"
CR ID
"
,
"CR Manager"
:
"
CR Manager
"
,
"Contact Name"
:
"
Contact Name
"
,
"Phone"
:
"
Phone
"
,
"Email id"
:
"
Email id
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
},
"changepin"
:{
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Old PIN"
:
"
رقم التعريف الشخصي القديم
"
,
"New PIN"
:
"
دبوس جديد
"
,
"Confirm PIN"
:
"
تأكيد
PIN"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Password Updated Successfully"
:
"
تم تحديث كلمة السر بنجاح
"
,
"Cancel"
:
"
إلغاء
"
,
"Save"
:
"
حفظ
"
"Change PIN"
:
"
Change PIN
"
,
"Old PIN"
:
"
Old PIN
"
,
"New PIN"
:
"
New PIN
"
,
"Confirm PIN"
:
"
Confirm
PIN"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Password Updated Successfully"
:
"
Password Updated Successfully
"
,
"Cancel"
:
"
Cancel
"
,
"Save"
:
"
Save
"
},
"currencyadd"
:{
"Currency Management"
:
"
إدارة العملات
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Add Currency"
:
"
أضف عملة
y"
,
"Success!"
:
"
نجاح
"
,
"Currency added successfully"
:
"
تمت إضافة العملة بنجاح
"
,
"Warning!"
:
"
تحذير
"
,
"Name"
:
"
اسم
"
,
"Symbol"
:
"
رمز
"
,
"Flag"
:
"
علم
"
,
"Rate"
:
"
معدل
"
,
"Forex
Amount Start From"
:
"مبلغ الفوركس يبدأ من
"
,
"Cancel"
:
"
إلغاء
"
,
"Save"
:
"
حفظ
"
"Currency Management"
:
"
Currency Management
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Add Currency"
:
"
Add Currenc
y"
,
"Success!"
:
"
Success!
"
,
"Currency added successfully"
:
"
Currency added successfully
"
,
"Warning!"
:
"
Warning!
"
,
"Name"
:
"
Name
"
,
"Symbol"
:
"
Symbol
"
,
"Flag"
:
"
Flag
"
,
"Rate"
:
"
Rate
"
,
"Forex
Multiple"
:
"Forex Multiple
"
,
"Cancel"
:
"
Cancel
"
,
"Save"
:
"
Save
"
},
"currencyedit"
:{
"Currency Management"
:
"
إدارة العملات
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Edit Currency"
:
"
تحرير العملة
"
,
"Success!"
:
"
نجاح
"
,
"Currency
added successfully"
:
"تمت إضافة العملة بنجاح
"
,
"Warning!"
:
"
تحذير
"
,
"Name"
:
"
اسم
"
,
"Symbol"
:
"
رمز
"
,
"Flag"
:
"
علم
"
,
"Choose Flag"
:
"
اختيار العلم
"
,
"Rate"
:
"
معدل
"
,
"Forex Amount Start From"
:
"
مبلغ الفوركس يبدأ من
"
,
"Cancel"
:
"
إلغاء
"
,
"Save"
:
"
حفظ
"
"Currency Management"
:
"
Currency Management
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Edit Currency"
:
"
Edit Currency
"
,
"Success!"
:
"
Success!
"
,
"Currency
updated successfully"
:
"Currency Updated successfully
"
,
"Warning!"
:
"
Warning!
"
,
"Name"
:
"
Name
"
,
"Symbol"
:
"
Symbol
"
,
"Flag"
:
"
Flag
"
,
"Choose Flag"
:
"
Choose Flag
"
,
"Rate"
:
"
Rate
"
,
"Forex Amount Start From"
:
"
Forex Amount Start From
"
,
"Cancel"
:
"
Cancel
"
,
"Save"
:
"
Save
"
},
"currencylist"
:{
"Manage Currency"
:
"إدارة العملة"
,
"Home"
:
"الصفحة الرئيسية"
,
"Logout"
:
"الخروج"
,
"Change PIN"
:
"تغيير رقم التعريف الشخصي"
,
"Manage Currency"
:
"Manage Currency"
,
"Home"
:
"Home"
,
"Flag"
:
"Flag"
,
"Logout"
:
"Logout"
,
"Change PIN"
:
"Change PIN"
,
"Currency List"
:
"Currency List"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Currency removed successfully"
:
"
تمت إزالة العملة بنجاح
"
,
"Name"
:
"
اسم
"
,
"Symbol"
:
"
رمز
"
,
"Forex
Start from"
:
"فوركس تبدأ من
"
,
"Rate"
:
"
معدل
"
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Currency removed successfully"
:
"
Currency removed successfully
"
,
"Name"
:
"
Name
"
,
"Symbol"
:
"
Symbol
"
,
"Forex
Multiple"
:
"Forex Multiple
"
,
"Rate"
:
"
Rate
"
},
"editforex"
:{
"Manage Currency"
:
"
إدارة العملة
"
,
"Forex Provider"
:
"
مزود فوركس
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Edit Forex Provider"
:
"
تحرير مزود الفوركس
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"editforex.Provider updated successfully."
:
"
تم تحديث المزود بنجاح
."
,
"Provider Name"
:
"
اسم المزود
"
,
"Location"
:
"
موقعك
"
,
"CR ID"
:
"
رقم السجل التجاري
"
,
"CR Manager"
:
"
مدير CR
"
,
"Contact Name"
:
"
اسم جهة الاتصال
"
,
"Phone"
:
"
هاتف
"
,
"Email id"
:
"
عنوان الايميل
"
,
"Status"
:
"
الحالة
"
,
"Online"
:
"
عبر الانترنت
"
,
"Offline"
:
"
غير متصل على الانترنت
"
,
"Delivery Provider"
:
"
مزود التسليم
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
"Manage Currency"
:
"
Manage Currency
"
,
"Forex Provider"
:
"
Forex Provider
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Edit Forex Provider"
:
"
Edit Forex Provider
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"editforex.Provider updated successfully."
:
"
editforex.Provider updated successfully
."
,
"Provider Name"
:
"
Provider Name
"
,
"Location"
:
"
Location
"
,
"CR ID"
:
"
CR ID
"
,
"CR Manager"
:
"
CR Manager
"
,
"Contact Name"
:
"
Contact Name
"
,
"Phone"
:
"
Phone
"
,
"Email id"
:
"
Email id
"
,
"Status"
:
"
Status
"
,
"Online"
:
"
Online
"
,
"Offline"
:
"
Offline
"
,
"Delivery Provider"
:
"
Delivery Provider
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
},
"editprovider"
:{
"Forex Delivery Service Provider"
:
"
فوركس مزود خدمة التوصيل
"
,
"Edit Forex Provider"
:
"
تحرير مزود الفوركس
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Edit Delivery Service Provider"
:
"
تحرير مزود خدمة التسليم
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Provider updated successfully."
:
"
تم تحديث المزود بنجاح
."
,
"Provider Name"
:
"
اسم المزود
"
,
"Location"
:
"
موقعك
"
,
"CR ID"
:
"
رقم السجل التجاري
"
,
"CR Manager"
:
"
مدير CR
"
,
"Contact Name"
:
"
اسم جهة الاتصال
"
,
"Phone"
:
"
هاتف
"
,
"Email id"
:
"
عنوان الايميل
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
,
"Forex Provider"
:
"
مزود فوركس
"
,
"Status"
:
"
الحالة
"
,
"Delivery Provider"
:
"
مزود التسليم
"
"Forex Delivery Service Provider"
:
"
Forex Delivery Service Provider
"
,
"Edit Forex Provider"
:
"
Edit Forex Provider
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Edit Delivery Service Provider"
:
"
Edit Delivery Service Provider
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Provider updated successfully."
:
"
Provider updated successfully
."
,
"Provider Name"
:
"
Provider Name
"
,
"Location"
:
"
Location
"
,
"CR ID"
:
"
CR ID
"
,
"CR Manager"
:
"
CR Manager
"
,
"Contact Name"
:
"
Contact Name
"
,
"Phone"
:
"
Phone
"
,
"Email id"
:
"
Email id
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
,
"Forex Provider"
:
"
Forex Provider
"
,
"Status"
:
"
Status
"
,
"Delivery Provider"
:
"
Delivery Provider
"
},
"forexprovider"
:{
"Forex Provider"
:
"
مزود فوركس
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Manage Forex Provider"
:
"
إدارة مزود الفوركس
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Forex provider removed successfully"
:
"
تمت إزالة مزود الفوركس بنجاح
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Location"
:
"
موقعك
"
,
"CR Manager"
:
"
مدير CR
"
,
"CR ID"
:
"
رقم السجل التجاري
"
,
"Contact Name"
:
"
اسم جهة الاتصال
"
,
"Phone"
:
"
هاتف
"
,
"Email ID"
:
"
عنوان الايميل
"
"Forex Provider"
:
"
Forex Provider
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Manage Forex Provider"
:
"
Manage Forex Provider
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Forex provider removed successfully"
:
"
Forex provider removed successfully
"
,
"Provider Name"
:
"
Provider Name
"
,
"Location"
:
"
Location
"
,
"CR Manager"
:
"
CR Manager
"
,
"CR ID"
:
"
CR ID
"
,
"Contact Name"
:
"
Contact Name
"
,
"Phone"
:
"
Phone
"
,
"Email ID"
:
"
Email ID
"
},
"home"
:{
"Forex Delivery Service Provider"
:
"
فوركس مزود خدمة التوصيل
"
,
"Forex Delivery Service Provider"
:
"
Forex Delivery Service Provider
"
,
"Currency"
:
"Currency"
,
"Logout"
:
"
الخروج
"
,
"Manage Forex Provider"
:
"
إدارة مزود الفوركس
"
,
"Manage Delivery Provider"
:
"
إدارة مزود التسليم
"
"Logout"
:
"
Logout
"
,
"Manage Forex Provider"
:
"
Manage Forex Provider
"
,
"Manage Delivery Provider"
:
"
Manage Delivery Provider
"
},
"manageprovider"
:{
"Forex Delivery Service Provider"
:
"
فوركس مزود خدمة التوصيل
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Manage Forex Provider"
:
"
إدارة مزود الفوركس
"
,
"Manage Delivery Service Provider"
:
"
إدارة مزود خدمة التوصيل
"
,
"Delivery provider removed successfully"
:
"
تمت إزالة مزود التسليم بنجاح
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Location"
:
"
موقعك
"
,
"CR Manager"
:
"
مدير CR
"
,
"CR ID"
:
"
رقم السجل التجاري
"
,
"Contact Name"
:
"
اسم جهة الاتصال
"
,
"Phone"
:
"
هاتف
"
,
"Email ID"
:
"
عنوان الايميل
"
"Forex Delivery Service Provider"
:
"
Forex Delivery Service Provider
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Manage Forex Provider"
:
"
Manage Forex Provider
"
,
"Manage Delivery Service Provider"
:
"
Manage Delivery Service Provider
"
,
"Delivery provider removed successfully"
:
"
Delivery provider removed successfully
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Provider Name"
:
"
Provider Name
"
,
"Location"
:
"
Location
"
,
"CR Manager"
:
"
CR Manager
"
,
"CR ID"
:
"
CR ID
"
,
"Contact Name"
:
"
Contact Name
"
,
"Phone"
:
"
Phone
"
,
"Email ID"
:
"
Email ID
"
},
"adddriver"
:{
"Driver Management"
:
"
إدارة السائقين
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Edit Driver"
:
"
تحرير سائق
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Provider created successfully."
:
"
تم إنشاء مزود بنجاح
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Pin"
:
"
دبوس
"
,
"Location"
:
"
موقعك
"
,
"National ID"
:
"
الهوية الوطنية
"
,
"Manager ID"
:
"
معرف المدير
"
,
"Phone"
:
"
هاتف
"
,
"Email id"
:
"
عنوان الايميل
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
,
"Confirm Pin"
:
"
تأكيد PIN
"
"Driver Management"
:
"
Driver Management
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Edit Driver"
:
"
Edit Driver
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Provider created successfully."
:
"
Provider created successfully.
"
,
"Provider Name"
:
"
Driver Name
"
,
"Pin"
:
"
Pin
"
,
"Location"
:
"
Location
"
,
"National ID"
:
"
National ID
"
,
"Manager ID"
:
"
Manager ID
"
,
"Phone"
:
"
Phone
"
,
"Email id"
:
"
Email id
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
,
"Confirm Pin"
:
"
Confirm Pin
"
},
"editdriver"
:{
"Forex Delivery Driver"
:
"
سائق تسليم فوركس
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Edit Forex Delivery Driver"
:
"
تحرير سائق تسليم فوركس
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Forex Delivery Driver updated successfully"
:
"
تم تحديث برنامج Forex Delivery Driver بنجاح
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Location"
:
"
موقعك
"
,
"National ID"
:
"
الهوية الوطنية
"
,
"Manager ID"
:
"
معرف المدير
"
,
"Phone"
:
"
هاتف
"
,
"Email id"
:
"
عنوان الايميل
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
"Forex Delivery Driver"
:
"
Forex Delivery Driver
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Edit Forex Delivery Driver"
:
"
Edit Forex Delivery Driver
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Forex Delivery Driver updated successfully"
:
"
Forex Delivery Driver updated successfully
"
,
"Provider Name"
:
"
Driver Name
"
,
"Location"
:
"
Location
"
,
"National ID"
:
"
National ID
"
,
"Manager ID"
:
"
Manager ID
"
,
"Phone"
:
"
Phone
"
,
"Email id"
:
"
Email id
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
},
"listdriver"
:{
"Driver Management"
:
"
إدارة السائقين
"
,
"Driver Management"
:
"
Driver Management
"
,
"Driver List"
:
"Driver List"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Forex provider removed successfully"
:
"
تمت إزالة مزود الفوركس بنجاح
"
,
"Warning!"
:
"
تحذير
"
,
"Success!"
:
"
نجاح
"
,
"Provider Name"
:
"
اسم المزود
"
,
"Location"
:
"
موقعك
"
,
"National ID"
:
"
الهوية الوطنية
"
,
"Manager ID"
:
"
معرف المدير
"
,
"Phone"
:
"
هاتف
"
,
"Email ID"
:
"
عنوان الايميل
"
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Change PIN"
:
"
Change PIN
"
,
"Forex provider removed successfully"
:
"
Forex provider removed successfully
"
,
"Warning!"
:
"
Warning!
"
,
"Success!"
:
"
Success!
"
,
"Provider Name"
:
"
Provider Name
"
,
"Location"
:
"
Location
"
,
"National ID"
:
"
National ID
"
,
"Manager ID"
:
"
Manager ID
"
,
"Phone"
:
"
Phone
"
,
"Email ID"
:
"
Email ID
"
},
"currency"
:{
"Forex Currency Rate"
:
"
سعر صرف العملات الأجنبية
"
,
"Home"
:
"
الصفحة الرئيسية
"
,
"Logout"
:
"
الخروج
"
,
"Currency & Rates"
:
"
أسعار العملات
"
,
"Warning"
:
"
تحذير
"
,
"Success"
:
"
نجاح
"
,
"Currency assigned successfully"
:
"
تم تعيين العملة بنجاح
"
,
"Currency"
:
"
دقة
"
,
"Add"
:
"
إضافة
"
,
"Remove"
:
"
إزالة
"
,
"Rates"
:
"
معدلات
"
,
"Save"
:
"
حفظ
"
,
"Cancel"
:
"
إلغاء
"
"Forex Currency Rate"
:
"
Forex Currency Rate
"
,
"Home"
:
"
Home
"
,
"Logout"
:
"
Logout
"
,
"Currency & Rates"
:
"
Currency & Rates
"
,
"Warning"
:
"
Warning
"
,
"Success"
:
"
Success
"
,
"Currency assigned successfully"
:
"
Currency assigned successfully
"
,
"Currency"
:
"
Currency
"
,
"Add"
:
"
Add
"
,
"Remove"
:
"
Remove
"
,
"Rates"
:
"
Rates
"
,
"Save"
:
"
Save
"
,
"Cancel"
:
"
Cancel
"
},
"transaction"
:{
"Forex Transaction List"
:
"
قائمة معاملات فوركس
"
,
"Driver Management"
:
"
إدارة السائقين
"
,
"Currency"
:
"
دقة
"
,
"Settings"
:
"
الإعدادات
"
,
"Logout"
:
"
الخروج
"
,
"Date"
:
"
تاريخ
"
,
"Change PIN"
:
"
تغيير رقم التعريف الشخصي
"
,
"Manage Transaction"
:
"
إدارة المعاملات
"
,
"Warning"
:
"
تحذير
"
,
"Success"
:
"
نجاح
"
,
"Forex provider removed successfully"
:
"
تمت إزالة مزود الفوركس بنجاح
"
,
"User Info"
:
"
معلومات المستخدم
"
,
"Phone"
:
"
هاتف
"
,
"Location"
:
"
موقعك
"
,
"Amount"
:
"
كمية
"
,
"Forex Amount"
:
"
مبلغ الفوركس
"
,
"Driver"
:
"
سائق
"
,
"Status"
:
"
الحالة
"
,
"Assign Driver"
:
"
تعيين سائق
"
,
"User"
:
"
المستعمل
"
,
"Assign"
:
"
تعيين
"
,
"Cancel"
:
"
إلغاء
"
"Forex Transaction List"
:
"
Forex Transaction List
"
,
"Driver Management"
:
"
Driver Management
"
,
"Currency"
:
"
Currency
"
,
"Settings"
:
"
Settings
"
,
"Logout"
:
"
Logout
"
,
"Date"
:
"
Date
"
,
"Change PIN"
:
"
Change PIN
"
,
"Manage Transaction"
:
"
Manage Transaction
"
,
"Warning"
:
"
Warning
"
,
"Success"
:
"
Success
"
,
"Forex provider removed successfully"
:
"
Forex provider removed successfully
"
,
"User Info"
:
"
User Info
"
,
"Phone"
:
"
Phone
"
,
"Location"
:
"
Location
"
,
"Amount"
:
"
Amount
"
,
"Forex Amount"
:
"
Forex Amount
"
,
"Driver"
:
"
Driver
"
,
"Status"
:
"
Status
"
,
"Assign Driver"
:
"
Assign Driver
"
,
"User"
:
"
User
"
,
"Assign"
:
"
Assign
"
,
"Cancel"
:
"
Cancel
"
}
}
src/assets/i18n/en.json
View file @
75033ba7
...
...
@@ -22,11 +22,11 @@
"Save"
:
"Save"
},
"addforex"
:{
"Forex Delivery Service Provider"
:
"Forex
Delivery Service
Provider"
,
"Forex Delivery Service Provider"
:
"Forex Provider"
,
"Change PIN"
:
"Change PIN"
,
"Home"
:
"Home"
,
"Logout"
:
"Logout"
,
"Add Delivery Provider"
:
"Add
Delivery
Provider"
,
"Add Delivery Provider"
:
"Add Provider"
,
"Success!"
:
"Success"
,
"Provider created successfully"
:
"Provider created successfully"
,
"Warning"
:
"Warning"
,
...
...
@@ -89,7 +89,7 @@
"Symbol"
:
"Symbol"
,
"Flag"
:
"Flag"
,
"Rate"
:
"Rate"
,
"Forex
Amount Start From"
:
"Forex Amount Start From
"
,
"Forex
Multiple"
:
"Forex Multiple
"
,
"Cancel"
:
"Cancel"
,
"Save"
:
"Save"
},
...
...
@@ -100,7 +100,7 @@
"Change PIN"
:
"Change PIN"
,
"Edit Currency"
:
"Edit Currency"
,
"Success!"
:
"Success!"
,
"Currency
added successfully"
:
"Currency add
ed successfully"
,
"Currency
updated successfully"
:
"Currency Updat
ed successfully"
,
"Warning!"
:
"Warning!"
,
"Name"
:
"Name"
,
"Symbol"
:
"Symbol"
,
...
...
@@ -114,6 +114,7 @@
"currencylist"
:{
"Manage Currency"
:
"Manage Currency"
,
"Home"
:
"Home"
,
"Flag"
:
"Flag"
,
"Logout"
:
"Logout"
,
"Change PIN"
:
"Change PIN"
,
"Currency List"
:
"Currency List"
,
...
...
@@ -122,7 +123,7 @@
"Currency removed successfully"
:
"Currency removed successfully"
,
"Name"
:
"Name"
,
"Symbol"
:
"Symbol"
,
"Forex
Start from"
:
"Forex Start from
"
,
"Forex
Multiple"
:
"Forex Multiple
"
,
"Rate"
:
"Rate"
},
"editforex"
:{
...
...
@@ -223,7 +224,7 @@
"Warning!"
:
"Warning!"
,
"Success!"
:
"Success!"
,
"Provider created successfully."
:
"Provider created successfully."
,
"Provider Name"
:
"
Provid
er Name"
,
"Provider Name"
:
"
Driv
er Name"
,
"Pin"
:
"Pin"
,
"Location"
:
"Location"
,
"National ID"
:
"National ID"
,
...
...
@@ -243,7 +244,7 @@
"Warning!"
:
"Warning!"
,
"Success!"
:
"Success!"
,
"Forex Delivery Driver updated successfully"
:
"Forex Delivery Driver updated successfully"
,
"Provider Name"
:
"
Provid
er Name"
,
"Provider Name"
:
"
Driv
er Name"
,
"Location"
:
"Location"
,
"National ID"
:
"National ID"
,
"Manager ID"
:
"Manager ID"
,
...
...
src/styles.scss
View file @
75033ba7
...
...
@@ -731,6 +731,16 @@ section.module.parallax {
td
{
padding
:
10px
!
important
;
text-align
:
center
!
important
;
img
{
display
:
inline-block
;
width
:
30px
;
height
:
30px
;
border-radius
:
50%
;
border
:
2px
solid
#b4b4b4
;
-o-object-fit
:
cover
;
object-fit
:
cover
;
margin-right
:
10px
;
}
}
}
...
...
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