22 lines
622 B
JavaScript
22 lines
622 B
JavaScript
(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;
|
|
}
|
|
};
|
|
}
|
|
})();
|