mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update cart.php
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Money\Money;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
@@ -13,6 +15,18 @@ return [
|
||||
*/
|
||||
|
||||
'calculator' => \Gloudemans\Shoppingcart\Calculation\DefaultCalculator::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Rounding strategy
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This default value is used to select the method to calculate prices and taxes
|
||||
| If true the item price is managed as a gross price, so taxes will be calculated by separation/exclusion
|
||||
|
|
||||
*/
|
||||
|
||||
'rounding' => Money::ROUND_UP,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user