diff --git a/Gruntfile.js b/Gruntfile.js index 7338c92c..c75dee75 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -17,6 +17,7 @@ var jsCompat = [ var jsSite = [ jsBase, jsBootstrap, + 'node_modules/currency.js/dist/currency.min.js', 'build/js/site.js', ] @@ -437,6 +438,12 @@ module.exports = function(grunt) { src: ['**'], dest: 'public/assets/plugins/moment', }, + { + expand: true, + cwd: 'node_modules/currency.js/dist/', + src: ['**'], + dest: 'public/assets/plugins/currency', + }, { expand: true, cwd: 'node_modules/bootstrap-fileinput/css/', diff --git a/package.json b/package.json index 65f47053..4a8c3ed9 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "bootstrap4-duallistbox": "^4.0.2", "bootstrap4-toggle": "^3.6.1", "chart.js": "^3.3.2", + "currency.js": "^2.0.4", "datatables.net-bs4": "1.10.18", "datatables.net-buttons-bs4": "^1.7.1", "datatables.net-colreorder-bs4": "^1.5.4", diff --git a/resources/views/Shop/Baskets/basket.blade.php b/resources/views/Shop/Baskets/basket.blade.php index 9fd6ef34..39d9d232 100644 --- a/resources/views/Shop/Baskets/basket.blade.php +++ b/resources/views/Shop/Baskets/basket.blade.php @@ -23,12 +23,44 @@ @foreach ($items as $item) @include('Shop.Baskets.partials.article') @endforeach + @endforeach