Files
cssd-back/resources/js/show/config/urls.js
T
2019-12-01 14:23:29 +03:30

26 lines
569 B
JavaScript
Vendored

const urls = {
showItem: function(id) {
return `/ShowItem/${id}`;
},
showPackage: function(id) {
return `/ShowPackage/${id}`;
},
showLabel: function(id) {
return `/ShowLabel/${id}`;
},
showCycle: function(id) {
return `/ShowCycle/${id}`;
},
Barcode: function(code) {
return `/BarCode/${code}`;
},
packageBarcode: function(code) {
return `/Package/Barcode/${code}`;
},
packageQRCode: function(code) {
return `/Package/QRCode/${code}`;
}
};
export { urls };