$scope.update = (code, value, type, target) => { $scope.code = code; $scope.value = value; $scope.type = type; $scope.target = target; }; $scope.remove = () => { $scope.code = ''; $scope.value = 0; $scope.type = ''; $scope.target = ''; }; $scope.compute = (targetValue) => { if ($scope.type !== 'percentage'){ return $scope.value; } if (typeof targetValue !== 'number'){ targetValue = (($scope.target === 'service') ? $cart.serviceCharge : $cart.subTotal); } return (targetValue * $scope.value); };
copy = (text, message) => { navigator.clipboard.writeText(text).then(() => { $alert.notify({ type: 'success', message: (message || 'Text copied to clipboard.'), toast: true, }); }); };
Home
Partnerships
Explore Services
About Us
Contact Us
Sign in
Sign in
404
page not found
Oops! That's an error — nothing here.
Return to the home page