feat: customer app
Showing
src.zip
deleted
100644 → 0
File deleted
<ion-content> | ||
<div class="cart_wrapper" *ngIf="data"> | ||
<div class="cart_wrapper" *ngIf="myOrder.selItem"> | ||
<div class="cart_head"> | ||
<div class="nav_header"> | ||
<ion-grid class="no-gutter"> | ||
... | ... | @@ -22,13 +22,13 @@ |
</div> | ||
<img src="../assets/white_tick.png" /> | ||
<h4>ORDER IS PLACED</h4> | ||
<p>{{ data.bookDate.seconds * 1000 | date:'MMMM dd, y' }}</p> | ||
<p>{{ myOrder.selItem.orderDate.seconds * 1000 | date:'MMMM dd, y' }}</p> | ||
</div> | ||
<div class="order_status"> | ||
<div class="clear"></div> | ||
<div class="status_div go_green"> | ||
<h4>{{data.orderCode}}</h4> | ||
<h6>{{ data.bookDate.seconds * 1000 | date:'MMMM dd, y' }}</h6> | ||
<h4>{{myOrder.selItem.orderCode}}</h4> | ||
<h6>{{ myOrder.selItem.orderDate.seconds * 1000 | date:'MMMM dd, y' }}</h6> | ||
</div> | ||
<!-- <div class="status_gap go_green"> | ||
</div> | ||
... | ... | @@ -65,8 +65,8 @@ |
</div> --> | ||
</div> | ||
<div class="nearby_shop_list"> | ||
<ul> | ||
<li *ngFor="let product of data.product; let i = index"> | ||
<ul *ngIf="myOrder.selItem.shopper"> | ||
<li *ngFor="let product of myOrder.selItem.shopper.product; let i = index"> | ||
<div class="nearby_image"> | ||
<img [src]="product.image" onerror="this.src='../assets/[email protected]'" /> | ||
</div> | ||
... | ... | @@ -82,8 +82,8 @@ |
</div> | ||
<div class="clear"></div> | ||
<div class="product_detail"> | ||
<h5 *ngIf="data.orderStatus >= 3 || data.orderStatus < 7 && i == 0"> | ||
Delivery time : <span><b>{{deliveryTime}}</b></span> | ||
<h5 *ngIf="myOrder.selItem.orderStatus >= 3 || myOrder.selItem.orderStatus < 7 && i == 0"> | ||
Delivery time : <span><b>{{myOrder.deliveryTime}}</b></span> | ||
</h5> | ||
<h6> | ||
<!-- <span *ngIf="product.color !== 'No-Color'">Product: {{unEscape(product.prodName)}}, | ||
... | ... | @@ -93,10 +93,21 @@ |
</h6> | ||
<h5>Quantity : <span>{{product.qty}}</span></h5> | ||
<h5> | ||
Amount : <strong>A$ {{service.formatNumber(product.price)}}</strong> | ||
Unit Price: <strong>A$ {{service.formatNumber(product.price)}}</strong> | ||
</h5> | ||
<h5>Order Status : <span>{{getStatus(data.orderStatus)}}</span></h5> | ||
<h5> | ||
GST/TAX: <strong>{{service.formatNumber(getGst(product.price, product.gst))}}</strong> | ||
</h5> | ||
<h5> | ||
Total: <strong>A$ {{service.formatNumber(((product.price + ((product.price * product.gst) /100)) * product.qty).toFixed(2)) }}</strong> | ||
</h5> | ||
<button class="cancel_btn" (click)="returnOrder(myOrder.selItem.orderId, product.itemId)" | ||
*ngIf="myOrder.selItem.orderStatus === 3"> | ||
RETURN ITEM | ||
</button> | ||
</div> | ||
</li> | ||
</ul> | ||
... | ... | @@ -104,88 +115,35 @@ |
<div class="product_detail"> | ||
<h5>Order Status: <span>{{getStatus(myOrder.selItem.orderStatus)}}</span></h5> | ||
<h5 *ngIf="checkRetrailer(myOrder.selItem.shopper.shopperStatus, myOrder.selItem.orderStatus)">Retailer Status: <span>{{getShopperStatus(myOrder.selItem.shopper.shopperStatus)}}</span></h5> | ||
<h5 *ngIf="checkRider(myOrder.selItem.riderStatus)">Rider Status: <span>{{getRiderStatus(myOrder.selItem.riderStatus)}}</span></h5> | ||
<h2 *ngIf="myOrder.selItem.contactLess">DelLeave in the Doorstep Delivery</h2> | ||
<div class="delivery-wrap"> | ||
<h4 class="floatLeft">DELIVERY</h4> | ||
<span class="floatRight" | ||
*ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8"><img | ||
class="ng-tns-c3-0" src="../../assets/edit.png" (click)="changeAddress(data.orderId)" /></span> | ||
*ngIf="myOrder.cancelDelivery > 0 && myOrder.selItem.orderStatus != 0 && myOrder.selItem.orderStatus != 8"><img | ||
class="ng-tns-c3-0" src="../../assets/edit.png" (click)="changeAddress(myOrder.selItem.orderId)" /></span> | ||
<div class="clear"></div> | ||
</div> | ||
<h5 *ngIf="data.deliveryAddress"> | ||
{{data.deliveryAddress.addressType}}, | ||
<!-- ,<br />{{data.deliveryAddress.address}} --> | ||
<br /> {{data.deliveryAddress.building}}<span | ||
*ngIf="data.deliveryAddress.landmark && data.deliveryAddress.landmark!==''"><br />, | ||
{{data.deliveryAddress.landmark}}</span> | ||
<h5 *ngIf="myOrder.selItem.deliveryAddress"> | ||
{{myOrder.selItem.deliveryAddress.addressType}}, | ||
<!-- ,<br />{{myOrder.selItem.deliveryAddress.address}} --> | ||
<br /> {{myOrder.selItem.deliveryAddress.building}}<div | ||
*ngIf="myOrder.selItem.deliveryAddress.landmark && myOrder.selItem.deliveryAddress.landmark!==''"> | ||
{{myOrder.selItem.deliveryAddress.landmark}}</div> | ||
</h5> | ||
<!-- <hr /> --> | ||
</div> | ||
<!-- <div class="related_product_slider"> | ||
<h5> | ||
<span class="floatLeft">Related Products</span><span class="floatRight">MORE</span> | ||
<div class="clear"></div> | ||
</h5> | ||
<ul> | ||
<ion-slides pager="false" [options]="relatedProd"> | ||
<ion-slide> | ||
<li (click)="goToPage('productdetail')"> | ||
<div class="product_image"> | ||
<img src="../assets/[email protected]"> | ||
<div class="fav_icon"> | ||
</div> | ||
</div> | ||
<h5>European Style V Neck</h5> | ||
<p>AU$99.00</p> | ||
</li> | ||
</ion-slide> | ||
<ion-slide> | ||
<li (click)="goToPage('productdetail')"> | ||
<div class="product_image"> | ||
<img src="../assets/Recommended-Ball-Gown-Floor-Length-V-Neck-Lace-Organza-Prom-Dress-OD850662@3x.png"> | ||
<div class="fav_icon"> | ||
</div> | ||
</div> | ||
<h5>European Style V Neck</h5> | ||
<p>AU$99.00</p> | ||
</li> | ||
</ion-slide> | ||
<ion-slide> | ||
<li (click)="goToPage('productdetail')"> | ||
<div class="product_image"> | ||
<img src="../assets/[email protected]"> | ||
<div class="fav_icon"> | ||
</div> | ||
</div> | ||
<h5>European Style V Neck</h5> | ||
<p>AU$99.00 <span class="offer">-8%</span></p> | ||
</li> | ||
</ion-slide> | ||
<ion-slide> | ||
<li (click)="goToPage('productdetail')"> | ||
<div class="product_image"> | ||
<img src="../assets/[email protected]"> | ||
<div class="fav_icon"> | ||
</div> | ||
<div class="featured_badge">Featured</div> | ||
</div> | ||
<h5>European Style V Neck</h5> | ||
<p>AU$99.00<span>AU$110.00</span></p> | ||
</li> | ||
</ion-slide> | ||
</ion-slides> | ||
</ul> | ||
</div> --> | ||
</div> | ||
</ion-content> | ||
<ion-footer> | ||
<ion-footer *ngIf="myOrder.selItem"> | ||
<div class="footer-btn"> | ||
<button class="cancel_btn" (click)="cancelOrder(data.orderId)" | ||
*ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8"> | ||
<button class="cancel_btn" (click)="cancellOrder(myOrder.selItem.orderId)" | ||
*ngIf="myOrder.selItem.orderStatus === 1"> | ||
CANCEL THIS ORDER | ||
</button> | ||
</div> | ||
... | ... |
src/app/return/return.module.ts
0 → 100644
src/app/return/return.page.html
0 → 100644
src/app/return/return.page.scss
0 → 100644
src/app/return/return.page.spec.ts
0 → 100644
src/app/return/return.page.ts
0 → 100644
src/config/return.service.ts
0 → 100644
src/config/services/return.ts
0 → 100644
Please
register
or
sign in
to comment