Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers_angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
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
Tobin
dcarfixers_angular
Commits
d2cb296d
Commit
d2cb296d
authored
Aug 09, 2019
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
6cbd7354
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
package-lock.json
package-lock.json
+0
-0
address.component.html
src/app/purchase/address/address.component.html
+1
-1
cart.component.html
src/app/purchase/cart/cart.component.html
+2
-2
orders.component.html
src/app/purchase/orders/orders.component.html
+1
-1
productdetails.component.html
...app/purchase/productdetails/productdetails.component.html
+2
-2
purchase-home.component.html
src/app/purchase/purchase-home/purchase-home.component.html
+1
-1
summary.component.html
src/app/purchase/summary/summary.component.html
+1
-1
track.component.html
src/app/purchase/track/track.component.html
+1
-1
No files found.
package-lock.json
View file @
d2cb296d
This diff is collapsed.
Click to expand it.
src/app/purchase/address/address.component.html
View file @
d2cb296d
...
...
@@ -28,7 +28,7 @@
</ng-template>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<h2
*
ngIf=
"prdtData"
>
$
{{prdtData.total_amount}}
</h2>
<h2
*
ngIf=
"prdtData"
>
NGN
{{prdtData.total_amount}}
</h2>
<!-- <h5>Delivery expected by Thur 1 May 2019</h5> -->
</div>
...
...
src/app/purchase/cart/cart.component.html
View file @
d2cb296d
...
...
@@ -31,7 +31,7 @@
<div
class=
"col-md-6"
>
<div
class=
"price_details"
>
<div
class=
"remove"
(
click
)="
cnfRemoveProduct
(
cart
.
cart_id
)"
>
Remove
</div>
<h5>
$
{{cartQuantity[cart.cart_id]['total_amount']}}
</h5>
<h5>
NGN
{{cartQuantity[cart.cart_id]['total_amount']}}
</h5>
<!-- <h4>Delivery expected by Thu, Apr 25th 2019<br>
</h4> -->
<br>
<button
class=
"purchase_btn"
(
click
)="
buyProduct
(
cart
.
product_id
,
cartQuantity
[
cart
.
cart_id
]['
total_amount
'],
cart
.
cart_id
,
cartQuantity
[
cart
.
cart_id
]['
quantity
'],
cart
.
amount
)"
>
Purchase
</button>
...
...
@@ -76,7 +76,7 @@
<input
type=
"radio"
[
checked
]="(
prdt
.
rating
>
= 0.75
&&
prdt.rating
<
1
.
25
)
?
'
true
'
:
''"
[
attr
.
id
]="'
thirdStar_
'+
prdt
.
product_id
+'
_1
'"
[
attr
.
name
]="'
thirdStarName_
'+
prdt
.
product_id
"
value=
"1"
/><label
class =
"full"
for=
"thirdStar1"
></label>
<input
type=
"radio"
[
checked
]="(
prdt
.
rating
<
0
.
75
&&
prdt
.
rating
>
= 0.25) ? 'true':''" [attr.id]="'thirdStar_'+prdt.product_id+'_half'" [attr.name]="'thirdStarName_'+prdt.product_id" value="0.5" />
<label
class=
"half"
for=
"thirdStarhalf"
></label>
</fieldset>
<span
class=
"floatRight"
>
$
{{prdt.amount}}
</span>
<span
class=
"floatRight"
>
NGN
{{prdt.amount}}
</span>
<div
class=
"clear"
></div>
<p>
{{(prdt.reviews > 0)?prdt.reviews+' Reviews':'Be the first one to review.'}}
</p>
</div>
...
...
src/app/purchase/orders/orders.component.html
View file @
d2cb296d
...
...
@@ -25,7 +25,7 @@
</div>
<div
class=
"col-md-6"
>
<div
class=
"price_details"
>
<h5>
$
{{book.amount}}
</h5>
<h5>
NGN
{{book.amount}}
</h5>
<h4
*
ngIf=
"( book.status == '2' || book.status == '3' || book.status == '4')"
>
{{book.expected_delivery == null || book.expected_delivery == '' ? 'Your Expected Delivery date will Update soon': 'Delivery expected by '+ (book.expected_delivery | date: "EEE, MMMM dd, yyyy") }}
<br>
<div
*
ngIf=
"book.status == '2'"
>
Your Order is Placed
</div>
<div
*
ngIf=
"book.status == '3'"
>
Your item is Packed
</div>
...
...
src/app/purchase/productdetails/productdetails.component.html
View file @
d2cb296d
...
...
@@ -23,7 +23,7 @@
<h2><strong>
Brand :
</strong>
{{productDetails.brand_name}}
</h2>
<div
*
ngIf=
"productDetails.part_id"
>
<h2><strong>
Part ID :
</strong>
{{productDetails.part_id}}
</h2></div>
<h3>
$
{{productDetails.amount}}
</h3>
<h3>
NGN
{{productDetails.amount}}
</h3>
<div
class=
"rating_div"
*
ngIf=
"productDetails.rating"
>
<fieldset
class=
"rating prevent-click"
>
<input
type=
"radio"
[
checked
]="(
productDetails
.
rating
>
= 4.75) ? 'true':''" id="firstStar5" name="firstRating" value="5" />
<label
class =
"full"
for=
"firstStar5"
></label>
...
...
@@ -133,7 +133,7 @@
<input
type=
"radio"
[
checked
]="(
prdt
.
rating
>
= 0.75
&&
prdt.rating
<
1
.
25
)
?
'
true
'
:
''"
[
attr
.
id
]="'
thirdStar_
'+
prdt
.
product_id
+'
_1
'"
[
attr
.
name
]="'
thirdStarName_
'+
prdt
.
product_id
"
value=
"1"
/><label
class =
"full"
for=
"thirdStar1"
></label>
<input
type=
"radio"
[
checked
]="(
prdt
.
rating
<
0
.
75
&&
prdt
.
rating
>
= 0.25) ? 'true':''" [attr.id]="'thirdStar_'+prdt.product_id+'_half'" [attr.name]="'thirdStarName_'+prdt.product_id" value="0.5" />
<label
class=
"half"
for=
"thirdStarhalf"
></label>
</fieldset>
<span
class=
"floatRight"
>
$
{{prdt.amount}}
</span>
<span
class=
"floatRight"
>
NGN
{{prdt.amount}}
</span>
<div
class=
"clear"
></div>
<p>
{{(prdt.reviews > 0)?prdt.reviews+' Reviews':'Be the first one to review.'}}
</p>
</div>
...
...
src/app/purchase/purchase-home/purchase-home.component.html
View file @
d2cb296d
...
...
@@ -31,7 +31,7 @@
<input
type=
"radio"
[
checked
]="(
prdt
.
rating
>
= 0.75
&&
prdt.rating
<
1
.
25
)
?
'
true
'
:
''"
[
attr
.
id
]="'
usrStar_
'+
prdt
.
product_id
+'
_1
'"
[
attr
.
name
]="'
usrStarName_
'+
prdt
.
product_id
"
value=
"1"
/><label
class =
"full"
for=
"secondStar1"
></label>
<input
type=
"radio"
[
checked
]="(
prdt
.
rating
<
0
.
75
&&
prdt
.
rating
>
= 0.25) ? 'true':''" [attr.id]="'usrStar_'+prdt.product_id+'_half'" [attr.name]="'usrStarName_'+prdt.product_id" value="0.5" />
<label
class=
"half"
for=
"secondStarhalf"
></label>
</fieldset>
<span
class=
"floatRight"
>
$
{{prdt.amount}}
</span>
<span
class=
"floatRight"
>
NGN
{{prdt.amount}}
</span>
<div
class=
"clear"
></div>
<p>
{{(prdt.reviews > 0)?prdt.reviews+' Reviews':'Be the first one to review.'}}
</p>
</div>
...
...
src/app/purchase/summary/summary.component.html
View file @
d2cb296d
...
...
@@ -51,7 +51,7 @@
<p>
Total Amount
</p>
</div>
<div
class=
"col-md-6"
>
<p><strong
style=
"font-size: 18px;"
>
$
{{prdtData.total_amount}}
</strong></p>
<p><strong
style=
"font-size: 18px;"
>
NGN
{{prdtData.total_amount}}
</strong></p>
</div>
</div>
<hr>
...
...
src/app/purchase/track/track.component.html
View file @
d2cb296d
...
...
@@ -68,7 +68,7 @@
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<h4>
Total Amount
</h4>
<h3>
$
{{orderDetails.amount}}
</h3>
<h3>
NGN
{{orderDetails.amount}}
</h3>
</div>
<div
class=
"col-md-6"
>
<h4>
...
...
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