31
31
using Nop.Core.Domain.Topics;
32
32
using Nop.Core.Domain.Vendors;
33
33
using Nop.Core.Infrastructure;
34
+ using Nop.Services.Catalog;
34
35
using Nop.Services.Common;
35
36
using Nop.Services.Configuration;
36
37
using Nop.Services.Customers;
@@ -395,6 +396,7 @@ protected virtual void InstallCurrencies()
395
396
DisplayOrder = 1,
396
397
CreatedOnUtc = DateTime.UtcNow,
397
398
UpdatedOnUtc = DateTime.UtcNow,
399
+ RoundingType = RoundingType.Rounding001
398
400
},
399
401
new Currency
400
402
{
@@ -407,6 +409,7 @@ protected virtual void InstallCurrencies()
407
409
DisplayOrder = 2,
408
410
CreatedOnUtc = DateTime.UtcNow,
409
411
UpdatedOnUtc = DateTime.UtcNow,
412
+ RoundingType = RoundingType.Rounding001
410
413
},
411
414
new Currency
412
415
{
@@ -419,6 +422,7 @@ protected virtual void InstallCurrencies()
419
422
DisplayOrder = 3,
420
423
CreatedOnUtc = DateTime.UtcNow,
421
424
UpdatedOnUtc = DateTime.UtcNow,
425
+ RoundingType = RoundingType.Rounding001
422
426
},
423
427
new Currency
424
428
{
@@ -431,6 +435,7 @@ protected virtual void InstallCurrencies()
431
435
DisplayOrder = 4,
432
436
CreatedOnUtc = DateTime.UtcNow,
433
437
UpdatedOnUtc = DateTime.UtcNow,
438
+ RoundingType = RoundingType.Rounding001
434
439
},
435
440
new Currency
436
441
{
@@ -443,6 +448,7 @@ protected virtual void InstallCurrencies()
443
448
DisplayOrder = 5,
444
449
CreatedOnUtc = DateTime.UtcNow,
445
450
UpdatedOnUtc = DateTime.UtcNow,
451
+ RoundingType = RoundingType.Rounding001
446
452
},
447
453
new Currency
448
454
{
@@ -456,6 +462,7 @@ protected virtual void InstallCurrencies()
456
462
DisplayOrder = 6,
457
463
CreatedOnUtc = DateTime.UtcNow,
458
464
UpdatedOnUtc = DateTime.UtcNow,
465
+ RoundingType = RoundingType.Rounding001
459
466
},
460
467
new Currency
461
468
{
@@ -468,6 +475,7 @@ protected virtual void InstallCurrencies()
468
475
DisplayOrder = 7,
469
476
CreatedOnUtc = DateTime.UtcNow,
470
477
UpdatedOnUtc = DateTime.UtcNow,
478
+ RoundingType = RoundingType.Rounding001
471
479
},
472
480
new Currency
473
481
{
@@ -480,6 +488,7 @@ protected virtual void InstallCurrencies()
480
488
DisplayOrder = 8,
481
489
CreatedOnUtc = DateTime.UtcNow,
482
490
UpdatedOnUtc = DateTime.UtcNow,
491
+ RoundingType = RoundingType.Rounding001
483
492
},
484
493
new Currency
485
494
{
@@ -492,6 +501,7 @@ protected virtual void InstallCurrencies()
492
501
DisplayOrder = 9,
493
502
CreatedOnUtc = DateTime.UtcNow,
494
503
UpdatedOnUtc = DateTime.UtcNow,
504
+ RoundingType = RoundingType.Rounding001
495
505
},
496
506
new Currency
497
507
{
@@ -504,6 +514,7 @@ protected virtual void InstallCurrencies()
504
514
DisplayOrder = 10,
505
515
CreatedOnUtc = DateTime.UtcNow,
506
516
UpdatedOnUtc = DateTime.UtcNow,
517
+ RoundingType = RoundingType.Rounding1
507
518
},
508
519
new Currency
509
520
{
@@ -516,6 +527,7 @@ protected virtual void InstallCurrencies()
516
527
DisplayOrder = 11,
517
528
CreatedOnUtc = DateTime.UtcNow,
518
529
UpdatedOnUtc = DateTime.UtcNow,
530
+ RoundingType = RoundingType.Rounding001
519
531
},
520
532
new Currency
521
533
{
@@ -528,6 +540,7 @@ protected virtual void InstallCurrencies()
528
540
DisplayOrder = 12,
529
541
CreatedOnUtc = DateTime.UtcNow,
530
542
UpdatedOnUtc = DateTime.UtcNow,
543
+ RoundingType = RoundingType.Rounding001
531
544
},
532
545
};
533
546
_currencyRepository.Insert(currencies);
0 commit comments