-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added checkout modal, cleaned cart,filter functions
- Loading branch information
Showing
7 changed files
with
269 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div> | ||
<div class="modal-header"> | ||
<h3 class="modal-title">Checkout</h3> | ||
</div> | ||
<div class="modal-body"> | ||
<div ng-repeat="item in cart"> | ||
<div class="my-row spaced-content vertical-margin"> | ||
<div>{{item.name}}</div> | ||
<div class="my-row"> | ||
<div class="horizontal-margin">{{item.quantity}}x</div> | ||
<div>₹{{item.discountedPrice}}</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="my-row spaced-content vertical-margin"> | ||
<div> | ||
</div> | ||
<div><u>Subtotal:</u> ₹{{getCartSubtotal()}}</div> | ||
</div> | ||
|
||
|
||
<div class="modal-footer"> | ||
<button class="btn btn-primary" ng-click="ok()">Checkout</button> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
var oldMenu = angular.module("oldMenu", ["ngRoute"]); | ||
var oldMenu = angular.module("oldMenu", ["ngRoute", 'ui.bootstrap']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.