Commit ac89f925 by Adarsh K

design fix

parent ef3ec31a
...@@ -127,16 +127,16 @@ ...@@ -127,16 +127,16 @@
<!-- <span class="floatRight">CHANGE</span> --> <!-- <span class="floatRight">CHANGE</span> -->
<div class="clear"></div> <div class="clear"></div>
</h5> </h5>
<!-- <div class="payment_method"> <div class="payment_method">
<input type="radio" name="payments" id="cod" name="radio-group" checked="true" <input type="radio" name="payments" id="cod" name="radio-group" checked="true"
(click)="getwaycod()" /> (click)="getwaycod()" />
<label for="cod"> <label for="cod">
<p>COD</p> <p>Credit Card</p>
</label> </label>
</div> --> </div>
<div class="payment_method"> <div class="payment_method">
<input type="radio" name="payments" id="paypal" name="radio-group" <input type="radio" name="payments" id="paypal" name="radio-group"
(click)="getwaypaypal()" checked="true" /> (click)="getwaypaypal()" />
<label for="paypal"> <label for="paypal">
<p>PayPal</p> <p>PayPal</p>
</label> </label>
......
...@@ -70,7 +70,7 @@ export class CartPage implements OnInit { ...@@ -70,7 +70,7 @@ export class CartPage implements OnInit {
this.bookDate = this.formatDate(); this.bookDate = this.formatDate();
this.currentIndex = 0; this.currentIndex = 0;
this.count = 1; this.count = 1;
this.gateway = 1; this.gateway = 4;
this.deliveryCharge = 0; this.deliveryCharge = 0;
this.taxAmount = 0; this.taxAmount = 0;
this.discountApplied = 0; this.discountApplied = 0;
...@@ -157,7 +157,7 @@ export class CartPage implements OnInit { ...@@ -157,7 +157,7 @@ export class CartPage implements OnInit {
getwaycod() { getwaycod() {
this.gateway = 4; this.gateway = 4;
this.paymentMethod = 'COD'; this.paymentMethod = 'Credit Card';
} }
async finishpop() { async finishpop() {
......
...@@ -37,11 +37,8 @@ ...@@ -37,11 +37,8 @@
<div class="md-errors-spacer" [hidden]="building.valid || landmark.pristine" class="ion-padding-start"> <div class="md-errors-spacer" [hidden]="building.valid || landmark.pristine" class="ion-padding-start">
Building Name is required Building Name is required
</div> </div>
<input [(ngModel)]="addressForm.landmark" name="landmark" #landmark="ngModel" name="landmark" required <input [(ngModel)]="addressForm.landmark" name="landmark" #landmark="ngModel" name="landmark"
placeholder="Landmark" /> placeholder="Landmark" />
<div class="md-errors-spacer" [hidden]="landmark.valid || landmark.pristine" class="ion-padding-start">
Landmark is required
</div>
<ion-grid> <ion-grid>
<ion-row> <ion-row>
<ion-col> <ion-col>
......
...@@ -183,7 +183,7 @@ export class ChangeaddressPage implements OnInit { ...@@ -183,7 +183,7 @@ export class ChangeaddressPage implements OnInit {
address: This.address, address: This.address,
addressType: data.addressType, addressType: data.addressType,
building: data.building, building: data.building,
landmark: data.landmark, landmark: data.landmark !== undefined ? data.landmark : '',
defaultVal: 0, defaultVal: 0,
uid: This.uid, uid: This.uid,
latLng: new firebase.firestore.GeoPoint( latLng: new firebase.firestore.GeoPoint(
......
...@@ -85,7 +85,10 @@ ...@@ -85,7 +85,10 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="product_detail" *ngFor="let product of data.product"> <div class="product_detail" *ngFor="let product of data.product; let i = index">
<h5 *ngIf="data.orderStatus >= 3 || data.orderStatus < 7 && i == 0">
Delivery time : <span><b>{{deliveryTime}}</b></span>
</h5>
<h6> <h6>
<span *ngIf="product.color !== 'No-Color'">Color: {{product.color}}, </span> <span *ngIf="product.color !== 'No-Color'">Color: {{product.color}}, </span>
<span *ngIf="product.size !== 'Any-Size'">Size: {{product.size}}</span> <span *ngIf="product.size !== 'Any-Size'">Size: {{product.size}}</span>
...@@ -95,9 +98,7 @@ ...@@ -95,9 +98,7 @@
Amount : <strong>A$ {{service.formatNumber(product.price)}}</strong><span Amount : <strong>A$ {{service.formatNumber(product.price)}}</strong><span
class="afterpay">{{data.paymentMode}}</span> class="afterpay">{{data.paymentMode}}</span>
</h5> </h5>
<h5 *ngIf="data.orderStatus >= 3 || data.orderStatus < 7">
Delivery time : <span>{{deliveryTime}}</span>
</h5>
<h5>Order Status : <span>{{getStatus(data.orderStatus)}}</span></h5> <h5>Order Status : <span>{{getStatus(data.orderStatus)}}</span></h5>
</div> </div>
......
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