jett.admin.npmpackage 1.0.27 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -497,7 +497,7 @@ var navItemsConstant = [
497
497
  {
498
498
  label: "Tags",
499
499
  onClick: () => {
500
- window.location.href = "/tags/";
500
+ window.location.href = "/orgselector/?path=tag" + encodedAuthData;
501
501
  }
502
502
  }
503
503
  ],
@@ -517,15 +517,15 @@ var navItemsConstant = [
517
517
  }
518
518
  },
519
519
  {
520
- label: "Ledger",
520
+ label: "Booking History",
521
521
  onClick: () => {
522
- window.location.href = "/finance/ledger/";
522
+ window.location.href = "/finance/bookingHistory/";
523
523
  }
524
524
  },
525
525
  {
526
- label: "Payments",
526
+ label: "Payments Ledger",
527
527
  onClick: () => {
528
- window.location.href = "/finance/payment/";
528
+ window.location.href = "/finance/paymentsLedger/";
529
529
  }
530
530
  }
531
531
  ]
@@ -544,23 +544,23 @@ var navItemsConstant = [
544
544
  isDropDown: true,
545
545
  options: [
546
546
  { label: "Pricing Policy", onClick: () => {
547
- window.location.href = "/policy/pricing-policy?auth=" + encodedAuthData;
547
+ window.location.href = "/orgselector/?path=pricing-policy" + encodedAuthData;
548
548
  } },
549
549
  { label: "Travel Policy", onClick: () => {
550
- window.location.href = "/policy/travel-policy?auth=" + encodedAuthData;
550
+ window.location.href = "/orgselector/?path=travel-policy" + encodedAuthData;
551
551
  } }
552
552
  ]
553
553
  },
554
554
  {
555
555
  label: "Offers",
556
556
  onClick: () => {
557
- window.location.href = "/offers?auth=" + encodedAuthData;
557
+ window.location.href = "/orgselector/?path=offer" + encodedAuthData;
558
558
  }
559
559
  },
560
560
  {
561
561
  label: "Vouchers",
562
562
  onClick: () => {
563
- window.location.href = "https://devadmin.musafirbiz.com/vouchers?auth=" + encodedAuthData;
563
+ window.location.href = "/orgselector/?path=voucher" + encodedAuthData;
564
564
  }
565
565
  },
566
566
  {
package/dist/index.mjs CHANGED
@@ -449,7 +449,7 @@ var navItemsConstant = [
449
449
  {
450
450
  label: "Tags",
451
451
  onClick: () => {
452
- window.location.href = "/tags/";
452
+ window.location.href = "/orgselector/?path=tag" + encodedAuthData;
453
453
  }
454
454
  }
455
455
  ],
@@ -469,15 +469,15 @@ var navItemsConstant = [
469
469
  }
470
470
  },
471
471
  {
472
- label: "Ledger",
472
+ label: "Booking History",
473
473
  onClick: () => {
474
- window.location.href = "/finance/ledger/";
474
+ window.location.href = "/finance/bookingHistory/";
475
475
  }
476
476
  },
477
477
  {
478
- label: "Payments",
478
+ label: "Payments Ledger",
479
479
  onClick: () => {
480
- window.location.href = "/finance/payment/";
480
+ window.location.href = "/finance/paymentsLedger/";
481
481
  }
482
482
  }
483
483
  ]
@@ -496,23 +496,23 @@ var navItemsConstant = [
496
496
  isDropDown: true,
497
497
  options: [
498
498
  { label: "Pricing Policy", onClick: () => {
499
- window.location.href = "/policy/pricing-policy?auth=" + encodedAuthData;
499
+ window.location.href = "/orgselector/?path=pricing-policy" + encodedAuthData;
500
500
  } },
501
501
  { label: "Travel Policy", onClick: () => {
502
- window.location.href = "/policy/travel-policy?auth=" + encodedAuthData;
502
+ window.location.href = "/orgselector/?path=travel-policy" + encodedAuthData;
503
503
  } }
504
504
  ]
505
505
  },
506
506
  {
507
507
  label: "Offers",
508
508
  onClick: () => {
509
- window.location.href = "/offers?auth=" + encodedAuthData;
509
+ window.location.href = "/orgselector/?path=offer" + encodedAuthData;
510
510
  }
511
511
  },
512
512
  {
513
513
  label: "Vouchers",
514
514
  onClick: () => {
515
- window.location.href = "https://devadmin.musafirbiz.com/vouchers?auth=" + encodedAuthData;
515
+ window.location.href = "/orgselector/?path=voucher" + encodedAuthData;
516
516
  }
517
517
  },
518
518
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jett.admin.npmpackage",
3
- "version": "1.0.27",
3
+ "version": "1.0.30",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {