1 2(function () { 3 'use strict'; 4 5 angular.module('Chivican.Common', []) 6 .service('orderService', ['$http', function ($http) { 7 var jsFileName = 'orderService'; 8 9 function transferTeToVND(te, exchangeRate) { 10 return (parseFloat(te) * parseFloat(exchangeRate)); 11 } 12 13 function realProductWebFree(product) { 14 return (parseFloat(product.PriceWeb) * parseInt(product.Quantity)); 15 } 16 17 function realProductVndFree(product, exchangeRate) { 18 return (parseFloat(product.PriceWeb) * parseInt(product.Quantity) * exchangeRate); 19 } 20 21 return { 22 transferTeToVND: transferTeToVND, 23 realProductWebFree: realProductWebFree, 24 realProductVndFree: realProductVndFree 25 } 26 }]); 27 28 29})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.