Commit d2cb296d by Jansa Jose

dc

parent 6cbd7354
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment