Added CustomerOrderLimitPolicy to manage order limits based on configuration values. Updated tests to reflect changes in constructor parameters.
9 lines
317 B
PHP
9 lines
317 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'headquarters_phone_reception' => env('LDC_HEADQUARTERS_PHONE_RECEPTION') ?: '02 43 62 70 00',
|
|
'max_order_amount_cents' => (int) env('LDC_MAX_ORDER_AMOUNT_CENTS', 20000),
|
|
'max_weekly_amount_cents' => (int) env('LDC_MAX_WEEKLY_AMOUNT_CENTS', 20000),
|
|
];
|