@@ -431,15 +431,15 @@ public function multishippingDataProvider(): array
431
431
5 ,
432
432
[
433
433
'subtotal ' => 10.00 ,
434
- 'discount_amount ' => -0.7100 ,
434
+ 'discount_amount ' => -1.4300 ,
435
435
'shipping_amount ' => 5.00 ,
436
- 'grand_total ' => 14.2900 ,
436
+ 'grand_total ' => 13.5700 ,
437
437
],
438
438
[
439
439
'subtotal ' => 20.00 ,
440
- 'discount_amount ' => -1.4300 ,
440
+ 'discount_amount ' => -2.8600 ,
441
441
'shipping_amount ' => 5.00 ,
442
- 'grand_total ' => 23.5700 ,
442
+ 'grand_total ' => 22.1400 ,
443
443
],
444
444
[
445
445
'subtotal ' => 5.00 ,
@@ -452,15 +452,15 @@ public function multishippingDataProvider(): array
452
452
10 ,
453
453
[
454
454
'subtotal ' => 10.00 ,
455
- 'discount_amount ' => -1.4300 ,
455
+ 'discount_amount ' => -2.8600 ,
456
456
'shipping_amount ' => 5.00 ,
457
- 'grand_total ' => 13.5700 ,
457
+ 'grand_total ' => 12.1400 ,
458
458
],
459
459
[
460
460
'subtotal ' => 20.00 ,
461
- 'discount_amount ' => -2.8600 ,
461
+ 'discount_amount ' => -5.71 ,
462
462
'shipping_amount ' => 5.00 ,
463
- 'grand_total ' => 22.1400 ,
463
+ 'grand_total ' => 19.2900 ,
464
464
],
465
465
[
466
466
'subtotal ' => 5.00 ,
@@ -473,15 +473,15 @@ public function multishippingDataProvider(): array
473
473
15 ,
474
474
[
475
475
'subtotal ' => 10.00 ,
476
- 'discount_amount ' => -2.1400 ,
476
+ 'discount_amount ' => -4.2900 ,
477
477
'shipping_amount ' => 5.00 ,
478
- 'grand_total ' => 12.8600 ,
478
+ 'grand_total ' => 10.71 ,
479
479
],
480
480
[
481
481
'subtotal ' => 20.00 ,
482
- 'discount_amount ' => -4.2900 ,
482
+ 'discount_amount ' => -8.5700 ,
483
483
'shipping_amount ' => 5.00 ,
484
- 'grand_total ' => 20.71 ,
484
+ 'grand_total ' => 16.43 ,
485
485
],
486
486
[
487
487
'subtotal ' => 5.00 ,
@@ -494,15 +494,15 @@ public function multishippingDataProvider(): array
494
494
30 ,
495
495
[
496
496
'subtotal ' => 10.00 ,
497
- 'discount_amount ' => -4.2900 ,
497
+ 'discount_amount ' => -8.5700 ,
498
498
'shipping_amount ' => 5.00 ,
499
- 'grand_total ' => 10.7100 ,
499
+ 'grand_total ' => 6.4300 ,
500
500
],
501
501
[
502
502
'subtotal ' => 20.00 ,
503
- 'discount_amount ' => -8.5700 ,
503
+ 'discount_amount ' => -17.1400 ,
504
504
'shipping_amount ' => 5.00 ,
505
- 'grand_total ' => 16.4300 ,
505
+ 'grand_total ' => 7.8600 ,
506
506
],
507
507
[
508
508
'subtotal ' => 5.00 ,
@@ -511,20 +511,20 @@ public function multishippingDataProvider(): array
511
511
'grand_total ' => 0.00 ,
512
512
]
513
513
],
514
- 'Discount > 1stOrdSubtotal + 2ndOrdSubtotal: 1st order and 2nd order get 100% discount
515
- and 3rd order get remaining discount ' => [
514
+ 'Discount > 1stOrdSubtotal + 2ndOrdSubtotal: 1st order and 2nd order get 100% discount '
515
+ . ' and 3rd order get remaining discount ' => [
516
516
31 ,
517
517
[
518
518
'subtotal ' => 10.00 ,
519
- 'discount_amount ' => -4.4300 ,
519
+ 'discount_amount ' => -8.8600 ,
520
520
'shipping_amount ' => 5.00 ,
521
- 'grand_total ' => 10.57 ,
521
+ 'grand_total ' => 6.14 ,
522
522
],
523
523
[
524
524
'subtotal ' => 20.00 ,
525
- 'discount_amount ' => -8.8600 ,
525
+ 'discount_amount ' => -17.7100 ,
526
526
'shipping_amount ' => 5.00 ,
527
- 'grand_total ' => 16.1400 ,
527
+ 'grand_total ' => 7.29 ,
528
528
],
529
529
[
530
530
'subtotal ' => 5.00 ,
0 commit comments