Initial commit
This commit is contained in:
21
api-wiaas/client/js/components/shop/cart-review.directive.js
Normal file
21
api-wiaas/client/js/components/shop/cart-review.directive.js
Normal file
@@ -0,0 +1,21 @@
|
||||
(function () {
|
||||
global.dashModule
|
||||
.directive('cartReview', ['$', '$translate', 'shopCartService', cartReviewDirective]);
|
||||
|
||||
function cartReviewDirective($, $translate, shopCartService) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
templateUrl: 'shop/html/cartReview',
|
||||
scope: {
|
||||
countryNames: '<',
|
||||
cartPackages: '<',
|
||||
delivery: '<',
|
||||
billing: '<',
|
||||
details: '<'
|
||||
},
|
||||
link: function (scope) {
|
||||
scope.sumPrice = shopCartService.sumPrice;
|
||||
}
|
||||
};
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user