tabexseriescomponents 0.2.1280 → 0.2.1281
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.cjs.js +27 -0
- package/dist/index.esm.js +27 -0
- package/dist/index.umd.js +27 -0
- package/package.json +1 -1
- package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
- package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
- package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
- package/srcbefore27-11/Imagekitconfig.jsx +0 -178
- package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
- package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
- package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
- package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
- package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
- package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
- package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
- package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
- package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
- package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
- package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
- package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
- package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
- package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
- package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
- package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
- package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
- package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
- package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
- package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
- package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
- package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
- package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
- package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
- package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
- package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
- package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
- package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
- package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
- package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
- package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
- package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
- package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
- package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
- package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
- package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
- package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
- package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
- package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
- package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
- package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
- package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
- package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
- package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
- package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
- package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
- package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
- package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
- package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
- package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
- package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
- package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
- package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
- package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
- package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
- package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
- package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
- package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
- package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
- package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
- package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
- package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
- package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
- package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
- package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
- package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
- package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
- package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
- package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
- package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
- package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
- package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
- package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
- package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
- package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
- package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
- package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
- package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
- package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
- package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
- package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
- package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
- package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
- package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
- package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
- package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
- package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
- package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
- package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
- package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
- package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
- package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
- package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
- package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
- package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
- package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
- package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
- package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
- package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
- package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
- package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
- package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
- package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
- package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
- package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
- package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
- package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
- package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
- package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
- package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
- package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
- package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
- package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
- package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
- package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
- package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
- package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
- package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
- package/srcbefore27-11/button.jsx +0 -40
- package/srcbefore27-11/index.jsx +0 -353
- package/srcbefore27-11/styles/Home.module.css +0 -129
- package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
- package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
- package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
- package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
- package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
- package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
- package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
- package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
- package/srcbefore27-11/styles/cards/card23.module.css +0 -60
- package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
- package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
- package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
- package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
- package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
- package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
- package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
- package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
- package/srcbefore27-11/styles/general/dropdown.css +0 -206
- package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
- package/srcbefore27-11/styles/general/filter.module.css +0 -108
- package/srcbefore27-11/styles/general/form.module.css +0 -255
- package/srcbefore27-11/styles/general/general.module.css +0 -872
- package/srcbefore27-11/styles/general/image-gallery.css +0 -531
- package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
- package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
- package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
- package/srcbefore27-11/styles/general/slick.module.css +0 -166
- package/srcbefore27-11/styles/general/tabs.module.css +0 -119
- package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
- package/srcbefore27-11/styles/globals.css +0 -26
- package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
- package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
- package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
- package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
- package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
- package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
- package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
- package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
- package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
- package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
- package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
- package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
- package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
- package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
- package/srcbefore27-11/styles/headers/dropdown.css +0 -0
- package/srcbefore27-11/styles/headers/header4.module.css +0 -175
- package/srcbefore27-11/styles/headers/header5.module.css +0 -30
- package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
- package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
- package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
- package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
- package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
- package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
- package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
- package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
- package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
- package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
- package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
- package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
- package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
- package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
- package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
- package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
- package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
- package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
- package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
- package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
- package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
- package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
- package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
- package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
- package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
|
@@ -1,1831 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
import generalstyles from '../../../styles/general/general.module.css';
|
|
3
|
-
import { Modal } from 'react-bootstrap';
|
|
4
|
-
import { css } from 'glamor';
|
|
5
|
-
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
6
|
-
import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
|
|
7
|
-
import { IoLocationSharp } from '@react-icons/all-files/io5/IoLocationSharp';
|
|
8
|
-
import { HiOutlineChevronRight } from '@react-icons/all-files/hi/HiOutlineChevronRight';
|
|
9
|
-
import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevronLeft';
|
|
10
|
-
import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
|
|
11
|
-
import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
|
|
12
|
-
import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
|
|
13
|
-
import { CircularProgress } from 'react-cssfx-loading';
|
|
14
|
-
// import Addreviewform from '../Productinfo/Addreviewform.jsx';
|
|
15
|
-
import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
|
|
16
|
-
|
|
17
|
-
import AddReview from '../AddReview/AddReview.jsx';
|
|
18
|
-
import { serverbaselink } from '../../../../Env.js';
|
|
19
|
-
const Ordershistory = (props) => {
|
|
20
|
-
const lang = props.actions.lang;
|
|
21
|
-
const langdetect = props.actions.langdetect;
|
|
22
|
-
const routingcountext = props.actions.routingcountext;
|
|
23
|
-
const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
24
|
-
const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
25
|
-
const fetchorderhistoryQueryContext = props.actions.fetchorderhistoryQueryContext;
|
|
26
|
-
const pageindexcontext = props.actions.pageindexcontext;
|
|
27
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
28
|
-
const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
|
|
29
|
-
const templatepropcontext = props.actions.templatepropcontext;
|
|
30
|
-
const authdetailsContext = props.actions.authdetailsContext;
|
|
31
|
-
const NotificationManager = props.actions.NotificationManager;
|
|
32
|
-
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
33
|
-
|
|
34
|
-
const GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
35
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
36
|
-
|
|
37
|
-
const actions = props.actions;
|
|
38
|
-
const [productidforreview, setproductidforreview] = useState('');
|
|
39
|
-
const [CurrentPageId, setCurrentPageId] = useState('');
|
|
40
|
-
const [openorderitemsmodalshow, setopenorderitemsmodalshow] = useState(false);
|
|
41
|
-
const [reviewpayloadobj, setreviewpayloadobj] = useState({
|
|
42
|
-
reviewtitle: '',
|
|
43
|
-
reviewbody: '',
|
|
44
|
-
reviewrate: 0,
|
|
45
|
-
reviewname: '',
|
|
46
|
-
});
|
|
47
|
-
const [openreviewmodalproductobj, setopenreviewmodalproductobj] = useState({});
|
|
48
|
-
const [openreviewmodal, setopenreviewmodal] = useState(false);
|
|
49
|
-
const [orderindex, setorderindex] = useState('');
|
|
50
|
-
// useEffect(() => {
|
|
51
|
-
// if (authdetailsContext?.loggedin == true) {
|
|
52
|
-
// var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
|
|
53
|
-
// tempFetchQueriesEngineContext.orderhistory = true;
|
|
54
|
-
// setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
55
|
-
// } else {
|
|
56
|
-
// // routingcountext('');
|
|
57
|
-
// }
|
|
58
|
-
// }, [authdetailsContext, FetchQueriesEngineContext]);
|
|
59
|
-
useEffect(() => {
|
|
60
|
-
if (authdetailsContext?.loggedin == true) {
|
|
61
|
-
if (FetchQueriesEngineContext != undefined) {
|
|
62
|
-
var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
|
|
63
|
-
tempFetchQueriesEngineContext.orderhistory = true;
|
|
64
|
-
setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
65
|
-
}
|
|
66
|
-
} else {
|
|
67
|
-
// routingcountext('');
|
|
68
|
-
}
|
|
69
|
-
}, [authdetailsContext]);
|
|
70
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
71
|
-
useEffect(() => {
|
|
72
|
-
var cartindex = templatepropcontext.pagesnprop.findIndex((x) => x.staticpageid == '6218bccb81d1c');
|
|
73
|
-
if (cartindex >= 0) {
|
|
74
|
-
setCurrentPageId(templatepropcontext.pagesnprop[cartindex].pageid);
|
|
75
|
-
}
|
|
76
|
-
}, []);
|
|
77
|
-
useEffect(() => {
|
|
78
|
-
var secpropobj = {};
|
|
79
|
-
props?.actions?.StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
80
|
-
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
81
|
-
});
|
|
82
|
-
setsectionproperties({ ...secpropobj });
|
|
83
|
-
}, [props?.actions?.StatePagePropertiesContext]);
|
|
84
|
-
const orderhistory_cssstyles = {
|
|
85
|
-
variantcontainer: css({
|
|
86
|
-
backgroundColor: sectionproperties.variantcontainer_bgcolor,
|
|
87
|
-
minWidth: sectionproperties.variantcontainer_minwidth == 0 ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
88
|
-
height: sectionproperties.variantcontainer_height == 0 ? 'auto' : sectionproperties.variantcontainer_height + 'px',
|
|
89
|
-
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
90
|
-
color: sectionproperties.variantcontainer_color,
|
|
91
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
92
|
-
}),
|
|
93
|
-
sectiontitlespan: css({
|
|
94
|
-
':after': {
|
|
95
|
-
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
96
|
-
backgroundColor: sectionproperties.linebgcolor,
|
|
97
|
-
},
|
|
98
|
-
}),
|
|
99
|
-
sectiontitlespan2: css({
|
|
100
|
-
':after': {
|
|
101
|
-
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
102
|
-
height: '100%',
|
|
103
|
-
backgroundColor: sectionproperties.linebgcolor,
|
|
104
|
-
},
|
|
105
|
-
}),
|
|
106
|
-
pill: css({
|
|
107
|
-
minWidth: sectionproperties.pillwidth + 'px',
|
|
108
|
-
height: sectionproperties.pillheight + 'px',
|
|
109
|
-
backgroundColor: sectionproperties.pillbgcolor,
|
|
110
|
-
color: sectionproperties.pillcolor,
|
|
111
|
-
textTransform: sectionproperties.pilltextTransform,
|
|
112
|
-
fontWeight: sectionproperties.pillfontWeight,
|
|
113
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
114
|
-
lineHeight: sectionproperties.pillfontSize + 'px',
|
|
115
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
116
|
-
}),
|
|
117
|
-
vieworderbtn: css({
|
|
118
|
-
color: sectionproperties.generalbtn_textColor,
|
|
119
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
120
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
121
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
122
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
123
|
-
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
124
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
125
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
126
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
127
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
128
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
129
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
130
|
-
transition: '.3s',
|
|
131
|
-
':hover': {
|
|
132
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
133
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
134
|
-
borderColor: sectionproperties.generalbtn_textColoronhover,
|
|
135
|
-
},
|
|
136
|
-
}),
|
|
137
|
-
tableimagecont: css({
|
|
138
|
-
width: '70px',
|
|
139
|
-
height: '60px',
|
|
140
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
141
|
-
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
142
|
-
borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
|
|
143
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
144
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
145
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
146
|
-
display: 'flex',
|
|
147
|
-
alignItems: 'center',
|
|
148
|
-
justifyContent: 'center',
|
|
149
|
-
position: 'relative',
|
|
150
|
-
}),
|
|
151
|
-
productNameStyles: css({
|
|
152
|
-
color: sectionproperties.prodNameColor,
|
|
153
|
-
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
154
|
-
textTransform: sectionproperties.prodNameTextTranform,
|
|
155
|
-
fontWeight: sectionproperties.prodNameFontWeight,
|
|
156
|
-
}),
|
|
157
|
-
productPricestyles: css({
|
|
158
|
-
color: sectionproperties.prodPriceColor,
|
|
159
|
-
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
160
|
-
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
161
|
-
}),
|
|
162
|
-
imagecont: css({
|
|
163
|
-
width: sectionproperties.prodimage_width + 'px',
|
|
164
|
-
height: sectionproperties.prodimage_height + 'px',
|
|
165
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
166
|
-
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
167
|
-
borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
|
|
168
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
169
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
170
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
171
|
-
display: 'flex',
|
|
172
|
-
alignItems: 'center',
|
|
173
|
-
justifyContent: 'center',
|
|
174
|
-
backgroundRepeat: 'no-repeat',
|
|
175
|
-
backgroundSize: 'cover',
|
|
176
|
-
backgroundPosition: 'center',
|
|
177
|
-
position: 'relative',
|
|
178
|
-
}),
|
|
179
|
-
innersectiontitlestyles: css({
|
|
180
|
-
color: sectionproperties.innersection_titlecolor,
|
|
181
|
-
fontSize: sectionproperties.innersection_titlefontsize + 'px',
|
|
182
|
-
fontWeight: sectionproperties.innersection_titlefontweight,
|
|
183
|
-
textTransform: sectionproperties.innersection_titletextTransform,
|
|
184
|
-
}),
|
|
185
|
-
userinfotextstyles: css({
|
|
186
|
-
color: sectionproperties.userinfo_color,
|
|
187
|
-
fontWeight: sectionproperties.userinfo_fontweight,
|
|
188
|
-
fontSize: sectionproperties.userinfo_fontsize + 'px',
|
|
189
|
-
}),
|
|
190
|
-
userinfotexticonstyles: css({
|
|
191
|
-
fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
|
|
192
|
-
color: sectionproperties.userinfotext_iconcolor,
|
|
193
|
-
}),
|
|
194
|
-
summarysectionstyles: css({
|
|
195
|
-
fontSize: sectionproperties.summary_fontsize + 'px',
|
|
196
|
-
color: sectionproperties.summary_textcolor,
|
|
197
|
-
fontWeight: sectionproperties.summary_textfontweight,
|
|
198
|
-
textTransform: sectionproperties.summary_texttransform,
|
|
199
|
-
}),
|
|
200
|
-
iconcontainer: css({
|
|
201
|
-
color: sectionproperties.generalbtn_textColor,
|
|
202
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
203
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
204
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
205
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
206
|
-
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
207
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
208
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
209
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
210
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
211
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
212
|
-
boxShadow: sectionproperties.generalbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.generalbtn_shadowcolor : '',
|
|
213
|
-
opacity: sectionproperties.generalbtn_opacity,
|
|
214
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
215
|
-
transition: '.3s',
|
|
216
|
-
cursor: 'pointer',
|
|
217
|
-
':hover': {
|
|
218
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
219
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
220
|
-
opacity: sectionproperties.generalbtn_opacityonhover,
|
|
221
|
-
},
|
|
222
|
-
}),
|
|
223
|
-
containerstyles: css({
|
|
224
|
-
paddingTop: sectionproperties.marginTop + 'px',
|
|
225
|
-
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
226
|
-
background: sectionproperties.backgroundColor,
|
|
227
|
-
minHeight: '70vh',
|
|
228
|
-
'@media (max-width: 800px)': {
|
|
229
|
-
paddingTop: sectionproperties.marginTopResp + 'px',
|
|
230
|
-
},
|
|
231
|
-
}),
|
|
232
|
-
};
|
|
233
|
-
const [bgimagesarray, setbgimagesarray] = useState([]);
|
|
234
|
-
useEffect(() => {
|
|
235
|
-
if (sectionproperties.length != 0) {
|
|
236
|
-
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
237
|
-
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
238
|
-
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
239
|
-
setbgimagesarray([...arrayofobjectimagesonlyparsed]);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}, [sectionproperties]);
|
|
244
|
-
const showdeletebuttonorder = () => {
|
|
245
|
-
var showbutton = false;
|
|
246
|
-
if (authdetailsContext?.instinfo?.cancustomerdeleteorder == 1) {
|
|
247
|
-
if (orderindex.length != 0) {
|
|
248
|
-
if (fetchorderhistoryQueryContext?.data?.data?.ordershistory[orderindex]?.instorderstatus == null) {
|
|
249
|
-
showbutton = true;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
return showbutton;
|
|
254
|
-
};
|
|
255
|
-
const addreviewcallback = () => {
|
|
256
|
-
fetchorderhistoryQueryContext.refetch();
|
|
257
|
-
};
|
|
258
|
-
const printOrder = () => {
|
|
259
|
-
if (orderindex != undefined && orderindex != null) {
|
|
260
|
-
var orderinfo = fetchorderhistoryQueryContext?.data?.data?.ordershistory[orderindex];
|
|
261
|
-
if (orderinfo != undefined && orderinfo != null && orderinfo != '') {
|
|
262
|
-
const orderids = orderinfo?.orderitems?.map((item) => item.orderitemid);
|
|
263
|
-
const itemsJSON = encodeURIComponent(JSON.stringify(orderids));
|
|
264
|
-
const url = `https://tabapv.site/printorder/guest/${orderinfo.instid}/${orderinfo.orderid}/${orderinfo.customerid}/${itemsJSON}?lang=${langdetect}`;
|
|
265
|
-
|
|
266
|
-
window.open(url, '_blank');
|
|
267
|
-
// Linking.openURL(url).catch((err) => {
|
|
268
|
-
// console.error('Failed to open URL:', err);
|
|
269
|
-
// });
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
return (
|
|
274
|
-
<div className={orderhistory_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 '}>
|
|
275
|
-
{sectionproperties.showbgimage == 'Show' && (
|
|
276
|
-
<div
|
|
277
|
-
className="col-lg-12 p-0 d-flex justify-content-center"
|
|
278
|
-
style={{
|
|
279
|
-
cursor: bgimagesarray[0]?.IsClickable == 'Yes' ? 'pointer' : 'default',
|
|
280
|
-
}}
|
|
281
|
-
onClick={() => {
|
|
282
|
-
if (bgimagesarray[0]?.IsClickable == 'Yes') {
|
|
283
|
-
if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
|
|
284
|
-
routingcountext(bgimagesarray[0].clickable_page_route, false, '');
|
|
285
|
-
} else {
|
|
286
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}}
|
|
290
|
-
>
|
|
291
|
-
<div
|
|
292
|
-
class={sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : ''}
|
|
293
|
-
style={{
|
|
294
|
-
width: sectionproperties.image_width + 'vw',
|
|
295
|
-
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
|
|
296
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
297
|
-
position: 'relative',
|
|
298
|
-
}}
|
|
299
|
-
>
|
|
300
|
-
<Imagekitimagecomp
|
|
301
|
-
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
302
|
-
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
303
|
-
path={
|
|
304
|
-
bgimagesarray.length != 0
|
|
305
|
-
? langdetect == 'en'
|
|
306
|
-
? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + bgimagesarray[0]?.bgsection_image
|
|
307
|
-
: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + bgimagesarray[0]?.bgsection_image_ar
|
|
308
|
-
: ''
|
|
309
|
-
}
|
|
310
|
-
class="d-flex d-sm-none"
|
|
311
|
-
style={{
|
|
312
|
-
height: '100%',
|
|
313
|
-
width: '100%',
|
|
314
|
-
margin: 0,
|
|
315
|
-
padding: 0,
|
|
316
|
-
background: sectionproperties.image_bgcolor,
|
|
317
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
318
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
319
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
320
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
321
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
322
|
-
zIndex: -1,
|
|
323
|
-
}}
|
|
324
|
-
/>
|
|
325
|
-
<Imagekitimagecomp
|
|
326
|
-
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
327
|
-
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
328
|
-
path={bgimagesarray.length != 0 ? (langdetect == 'en' ? bgimagesarray[0]?.bgsection_imageresponsive : bgimagesarray[0]?.bgsection_imageresponsive_ar) : ''}
|
|
329
|
-
class="d-none d-sm-flex"
|
|
330
|
-
style={{
|
|
331
|
-
height: '100%',
|
|
332
|
-
width: '100%',
|
|
333
|
-
margin: 0,
|
|
334
|
-
padding: 0,
|
|
335
|
-
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
336
|
-
background: sectionproperties.image_bgcolor,
|
|
337
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
338
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
339
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
340
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
341
|
-
zIndex: -1,
|
|
342
|
-
}}
|
|
343
|
-
/>
|
|
344
|
-
<div
|
|
345
|
-
className={' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center '}
|
|
346
|
-
style={{
|
|
347
|
-
position: 'absolute',
|
|
348
|
-
top: 0,
|
|
349
|
-
right: 0,
|
|
350
|
-
bottom: 0,
|
|
351
|
-
left: 0,
|
|
352
|
-
}}
|
|
353
|
-
>
|
|
354
|
-
<p
|
|
355
|
-
className={' m-0 p-0 '}
|
|
356
|
-
style={{
|
|
357
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
358
|
-
color: sectionproperties.imagetextcolor,
|
|
359
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
360
|
-
fontWeight: sectionproperties.imagetextfontWeight,
|
|
361
|
-
}}
|
|
362
|
-
>
|
|
363
|
-
{lang.previousorders}
|
|
364
|
-
</p>
|
|
365
|
-
</div>
|
|
366
|
-
</div>
|
|
367
|
-
</div>
|
|
368
|
-
)}
|
|
369
|
-
{/* <p>asa1</p> */}
|
|
370
|
-
{fetchorderhistoryQueryContext.isFetching && (
|
|
371
|
-
<div className="row m-0 w-100 align-items-center justify-content-center" style={{ height: '50vh', padding: '20px' }}>
|
|
372
|
-
<div class="col-lg-12 p-0 d-flex d-md-none">
|
|
373
|
-
<table className={'table'}>
|
|
374
|
-
<thead className="">
|
|
375
|
-
<th className={'mw-150 mw-md-300'}>
|
|
376
|
-
<p class="my-1 is-loading"></p>
|
|
377
|
-
</th>
|
|
378
|
-
<th className="text-center" style={{ minWidth: '100px' }}>
|
|
379
|
-
<p class="my-1 is-loading"></p>
|
|
380
|
-
</th>
|
|
381
|
-
|
|
382
|
-
<th className="text-center">
|
|
383
|
-
<p class="my-1 is-loading"></p>
|
|
384
|
-
</th>
|
|
385
|
-
</thead>
|
|
386
|
-
<tbody>
|
|
387
|
-
{[...Array(3)].map((item, index) => {
|
|
388
|
-
return (
|
|
389
|
-
<tr className="">
|
|
390
|
-
<td className="mw-150 mw-md-300">
|
|
391
|
-
<p class="my-1 is-loading"></p>
|
|
392
|
-
</td>
|
|
393
|
-
<td className="text-center" style={{ minWidth: '100px' }}>
|
|
394
|
-
<p class="my-1 is-loading"></p>
|
|
395
|
-
</td>
|
|
396
|
-
<td className="text-center" style={{ minWidth: '100px' }}>
|
|
397
|
-
<p class="my-1 is-loading"></p>
|
|
398
|
-
</td>
|
|
399
|
-
</tr>
|
|
400
|
-
);
|
|
401
|
-
})}
|
|
402
|
-
</tbody>
|
|
403
|
-
</table>
|
|
404
|
-
</div>
|
|
405
|
-
<div class="col-lg-12 p-0 d-none d-md-flex">
|
|
406
|
-
<div className="row m-0 w-100 align-items-center justify-content-center" style={{ height: '50vh' }}>
|
|
407
|
-
{[...Array(3)].map((item, index) => {
|
|
408
|
-
return (
|
|
409
|
-
<div class="col-lg-12 p-0">
|
|
410
|
-
<div class="row m-0 w-100">
|
|
411
|
-
<div className="col-9 pt-2">
|
|
412
|
-
<div class="row m-0 w-100 d-flex">
|
|
413
|
-
<div class="col-10 p-0 mb-1">
|
|
414
|
-
<p className={' m-0 p-0 is-loading mb-auto '}></p>
|
|
415
|
-
</div>
|
|
416
|
-
|
|
417
|
-
<div class="col-lg-12 p-0">
|
|
418
|
-
<p class={' m-0 p-0 is-loading '}></p>
|
|
419
|
-
</div>
|
|
420
|
-
</div>
|
|
421
|
-
</div>
|
|
422
|
-
|
|
423
|
-
<div class="col-lg-12 allcentered p-0 mt-4">
|
|
424
|
-
<button
|
|
425
|
-
className={' w-100 is-loading '}
|
|
426
|
-
style={{
|
|
427
|
-
height: sectionproperties.cartBtnHeight + 'px',
|
|
428
|
-
}}
|
|
429
|
-
></button>
|
|
430
|
-
</div>
|
|
431
|
-
|
|
432
|
-
<div
|
|
433
|
-
class="col-lg-12 p-0 my-3"
|
|
434
|
-
style={{
|
|
435
|
-
background: '#eee',
|
|
436
|
-
height: 1,
|
|
437
|
-
width: '100%',
|
|
438
|
-
}}
|
|
439
|
-
></div>
|
|
440
|
-
</div>
|
|
441
|
-
</div>
|
|
442
|
-
);
|
|
443
|
-
})}
|
|
444
|
-
</div>
|
|
445
|
-
</div>
|
|
446
|
-
</div>
|
|
447
|
-
)}
|
|
448
|
-
<div className="col-lg-12 p-0">
|
|
449
|
-
{/* <p>asa2</p> */}
|
|
450
|
-
|
|
451
|
-
{!fetchorderhistoryQueryContext.isFetching && fetchorderhistoryQueryContext.isSuccess && (
|
|
452
|
-
<div
|
|
453
|
-
className={'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2'}
|
|
454
|
-
style={{
|
|
455
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
456
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
457
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
458
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
459
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
460
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
461
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
462
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
463
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
464
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
465
|
-
}}
|
|
466
|
-
>
|
|
467
|
-
{/* <p>asa3</p> */}
|
|
468
|
-
<div className={'col-lg-12 p-0'}>
|
|
469
|
-
<Staticpagesrouter currentpageprops={'previousorders'} actions={actions} />
|
|
470
|
-
</div>
|
|
471
|
-
<div className={'col-lg-12 p-0'}>
|
|
472
|
-
<div className={'row ml-0 mr-0'}>
|
|
473
|
-
<div className="row m-0 w-100">
|
|
474
|
-
{orderindex.length == 0 && (
|
|
475
|
-
<div className="row m-0 w-100">
|
|
476
|
-
{sectionproperties.pagedesign == 'Design 1 (Cards)' && (
|
|
477
|
-
<div
|
|
478
|
-
className="row m-0 w-100 mt-3"
|
|
479
|
-
style={{
|
|
480
|
-
minHeight: '70vh',
|
|
481
|
-
}}
|
|
482
|
-
>
|
|
483
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory.map((item, index) => {
|
|
484
|
-
return (
|
|
485
|
-
<div className={' col-lg-4 col-md-6 col-sm-12 mb-4 pl-md-2 pr-md-2 pr-0 '}>
|
|
486
|
-
<div
|
|
487
|
-
className={`${generalstyles.card}` + ' noshadow '}
|
|
488
|
-
onClick={() => {
|
|
489
|
-
setorderindex(index);
|
|
490
|
-
setopenorderitemsmodalshow(true);
|
|
491
|
-
}}
|
|
492
|
-
>
|
|
493
|
-
<div className="row m-0 w-100">
|
|
494
|
-
<div className="col-lg-6 col-md-6 col-sm-6 p-0">
|
|
495
|
-
<div className="row m-0 w-100 d-flex align-items-center">
|
|
496
|
-
<div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center">
|
|
497
|
-
<p
|
|
498
|
-
className={' m-0 p-0 '}
|
|
499
|
-
style={{
|
|
500
|
-
color: sectionproperties.generaltext_fontColor,
|
|
501
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
502
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
503
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
504
|
-
}}
|
|
505
|
-
>
|
|
506
|
-
{langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear}:{' '}
|
|
507
|
-
<span
|
|
508
|
-
style={{
|
|
509
|
-
color: sectionproperties.text_secondarycolor,
|
|
510
|
-
}}
|
|
511
|
-
>
|
|
512
|
-
{item.orderid}
|
|
513
|
-
</span>
|
|
514
|
-
</p>
|
|
515
|
-
</div>
|
|
516
|
-
</div>
|
|
517
|
-
</div>
|
|
518
|
-
<div className="col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-end">
|
|
519
|
-
<button
|
|
520
|
-
className={`${orderhistory_cssstyles.vieworderbtn}`}
|
|
521
|
-
onClick={() => {
|
|
522
|
-
setorderindex(index);
|
|
523
|
-
setopenorderitemsmodalshow(true);
|
|
524
|
-
}}
|
|
525
|
-
>
|
|
526
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
527
|
-
</button>
|
|
528
|
-
</div>
|
|
529
|
-
{/* <div className="col-lg-12 p-0 d-flex align-items-center justify-content-start">
|
|
530
|
-
<p
|
|
531
|
-
className={' m-0 p-0 d-flex justify-content-start module line-clamp '}
|
|
532
|
-
style={{
|
|
533
|
-
color: sectionproperties.generaltext_fontColor,
|
|
534
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
535
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
536
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
537
|
-
}}
|
|
538
|
-
>
|
|
539
|
-
{lang.numberofproducts}:{' '}
|
|
540
|
-
<span
|
|
541
|
-
className="ml-1 mr-1"
|
|
542
|
-
style={{
|
|
543
|
-
color: sectionproperties.text_secondarycolor,
|
|
544
|
-
}}
|
|
545
|
-
>
|
|
546
|
-
{item.orderitems.length}
|
|
547
|
-
</span>
|
|
548
|
-
</p>
|
|
549
|
-
</div> */}
|
|
550
|
-
<div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-2">
|
|
551
|
-
<span
|
|
552
|
-
className={`${generalstyles.pill} ` + ' pl-2 pr-2 '}
|
|
553
|
-
style={{ backgroundColor: item.instorderstatus != null ? item.instorderstatus.statuscolor : 'orange' }}
|
|
554
|
-
>
|
|
555
|
-
{item.instorderstatus != null
|
|
556
|
-
? langdetect == 'en'
|
|
557
|
-
? item.instorderstatus.orderstatusname_en
|
|
558
|
-
: item.instorderstatus.orderstatusname_ar
|
|
559
|
-
: langdetect == 'en'
|
|
560
|
-
? 'In Progress'
|
|
561
|
-
: 'جاري'}
|
|
562
|
-
</span>
|
|
563
|
-
</div>
|
|
564
|
-
|
|
565
|
-
<div className="col-lg-12 p-0 d-flex align-items-center justify-content-end">
|
|
566
|
-
<i
|
|
567
|
-
className={langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '}
|
|
568
|
-
></i>
|
|
569
|
-
<p className={'text-light font-weight-500 m-0 p-0 '}>{item.timestamp}</p>
|
|
570
|
-
</div>
|
|
571
|
-
</div>
|
|
572
|
-
</div>
|
|
573
|
-
</div>
|
|
574
|
-
);
|
|
575
|
-
})}
|
|
576
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory.length == 0 && (
|
|
577
|
-
<div className="row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5" style={{ height: '35vh' }}>
|
|
578
|
-
<div className={generalstyles.card + ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '}>
|
|
579
|
-
<FiLayers
|
|
580
|
-
style={{
|
|
581
|
-
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
582
|
-
color: sectionproperties.noprod_iconcolor,
|
|
583
|
-
}}
|
|
584
|
-
/>
|
|
585
|
-
<p
|
|
586
|
-
class="m-0 p-0 mt-2"
|
|
587
|
-
style={{
|
|
588
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
589
|
-
color: sectionproperties.noprod_color,
|
|
590
|
-
fontSize: sectionproperties.noprod_fontSize + 'px',
|
|
591
|
-
}}
|
|
592
|
-
>
|
|
593
|
-
{langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar}
|
|
594
|
-
</p>
|
|
595
|
-
</div>
|
|
596
|
-
</div>
|
|
597
|
-
)}
|
|
598
|
-
</div>
|
|
599
|
-
)}
|
|
600
|
-
{sectionproperties.pagedesign == 'Design 2 (Table)' && (
|
|
601
|
-
<div className="w-100" style={{ background: 'white', padding: '20px', minHeight: '70vh' }}>
|
|
602
|
-
<div className={`${generalstyles.table_responsive}` + ' col-lg-12 '}>
|
|
603
|
-
<table className={`${generalstyles.table} ${generalstyles.table_thbg}`}>
|
|
604
|
-
<thead className="" style={{ background: '#eee' }}>
|
|
605
|
-
<th
|
|
606
|
-
className={'font-weight-500 font-14 text-uppercase text-light mw-150 mw-md-300'}
|
|
607
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
608
|
-
>
|
|
609
|
-
{langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear}{' '}
|
|
610
|
-
</th>
|
|
611
|
-
{sectionproperties.statusvisibility == 'Show' && (
|
|
612
|
-
<th className="text-center font-weight-500 font-14 text-uppercase text-light" style={{ minWidth: '200px' }}>
|
|
613
|
-
{lang.status}
|
|
614
|
-
</th>
|
|
615
|
-
)}
|
|
616
|
-
{sectionproperties.hidenoproducts == 'Show' && (
|
|
617
|
-
<th className="text-capitalize text-center font-weight-500 font-14 text-uppercase text-light" style={{ minWidth: '200px' }}>
|
|
618
|
-
{/* {lang.numberofproducts} */}
|
|
619
|
-
{langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar}
|
|
620
|
-
</th>
|
|
621
|
-
)}
|
|
622
|
-
<th className="text-capitalize text-center font-weight-500 font-14 text-uppercase text-light">{lang.showmore}</th>
|
|
623
|
-
</thead>
|
|
624
|
-
<tbody>
|
|
625
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory.map((item, index) => {
|
|
626
|
-
return (
|
|
627
|
-
<tr>
|
|
628
|
-
<td className="mw-150 mw-md-300" style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
|
|
629
|
-
<div class="row m-0 w-100">
|
|
630
|
-
{sectionproperties.showorderid == 'Show' && <div class="col-lg-12 p-0 text-start">{item.orderid}</div>}
|
|
631
|
-
{sectionproperties.showtimestamp == 'Show' && <div class="col-lg-12 p-0 text-start">{item.timestamp}</div>}
|
|
632
|
-
</div>
|
|
633
|
-
</td>
|
|
634
|
-
{sectionproperties.statusvisibility == 'Show' && (
|
|
635
|
-
<td className="text-center" style={{ minWidth: '200px' }}>
|
|
636
|
-
<div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-2 justify-content-center">
|
|
637
|
-
<span
|
|
638
|
-
className={`${generalstyles.pill} ` + ' pl-2 pr-2 '}
|
|
639
|
-
style={{ backgroundColor: item.instorderstatus != null ? item.instorderstatus.statuscolor : 'orange' }}
|
|
640
|
-
>
|
|
641
|
-
{/* {item.instorderstatus != null ? item.instorderstatus.orderstatusname_en : lang.inprogress} */}
|
|
642
|
-
{item.instorderstatus != null
|
|
643
|
-
? langdetect == 'en'
|
|
644
|
-
? item.instorderstatus.orderstatusname_en
|
|
645
|
-
: item.instorderstatus.orderstatusname_ar
|
|
646
|
-
: langdetect == 'en'
|
|
647
|
-
? 'In Progress'
|
|
648
|
-
: 'جاري'}
|
|
649
|
-
</span>
|
|
650
|
-
</div>
|
|
651
|
-
</td>
|
|
652
|
-
)}
|
|
653
|
-
{sectionproperties.hidenoproducts == 'Show' && (
|
|
654
|
-
<td className="text-center" style={{ minWidth: '200px' }}>
|
|
655
|
-
<span
|
|
656
|
-
className="ml-1 mr-1"
|
|
657
|
-
style={{
|
|
658
|
-
color: sectionproperties.text_secondarycolor,
|
|
659
|
-
}}
|
|
660
|
-
>
|
|
661
|
-
{item.orderitems.length}
|
|
662
|
-
</span>
|
|
663
|
-
</td>
|
|
664
|
-
)}
|
|
665
|
-
<td className="text-center cursor-pointer">
|
|
666
|
-
<i
|
|
667
|
-
className="h-100 d-flex align-items-center justify-content-center"
|
|
668
|
-
onClick={() => {
|
|
669
|
-
setorderindex(index);
|
|
670
|
-
// setopenorderitemsmodalshow(true);
|
|
671
|
-
}}
|
|
672
|
-
>
|
|
673
|
-
{langdetect == 'en' ? <HiOutlineChevronRight /> : <HiOutlineChevronLeft />}
|
|
674
|
-
</i>
|
|
675
|
-
</td>
|
|
676
|
-
</tr>
|
|
677
|
-
);
|
|
678
|
-
})}
|
|
679
|
-
</tbody>
|
|
680
|
-
</table>
|
|
681
|
-
</div>
|
|
682
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory.length == 0 && (
|
|
683
|
-
<div className="row m-0 w-100 d-flex align-items-center justify-content-center h-100" style={{ height: '35vh' }}>
|
|
684
|
-
<div className={' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '}>
|
|
685
|
-
{sectionproperties.noproducticontype == 'Cart' && (
|
|
686
|
-
<img src={'https://tabex-co.com/storage/StaticImages/shoppingcart.png'} style={{ maxWidth: '250px', maxHeight: '250px' }} />
|
|
687
|
-
)}
|
|
688
|
-
{sectionproperties.noproducticontype == 'Calendar' && (
|
|
689
|
-
<FiCalendar
|
|
690
|
-
style={{
|
|
691
|
-
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
692
|
-
color: sectionproperties.noprod_iconcolor,
|
|
693
|
-
}}
|
|
694
|
-
/>
|
|
695
|
-
)}
|
|
696
|
-
<p
|
|
697
|
-
class="m-0 p-0 mt-2"
|
|
698
|
-
style={{
|
|
699
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
700
|
-
color: sectionproperties.noprod_color,
|
|
701
|
-
fontSize: sectionproperties.noprod_fontSize + 'px',
|
|
702
|
-
}}
|
|
703
|
-
>
|
|
704
|
-
{langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar}
|
|
705
|
-
</p>
|
|
706
|
-
</div>
|
|
707
|
-
</div>
|
|
708
|
-
)}
|
|
709
|
-
</div>
|
|
710
|
-
)}
|
|
711
|
-
</div>
|
|
712
|
-
)}
|
|
713
|
-
{orderindex.length != 0 && (
|
|
714
|
-
<div className={'row ml-0 mr-0 w-100 pb-3 mb-3'}>
|
|
715
|
-
<div className="col-lg-12 p-0 mb-3 d-flex align-items-center">
|
|
716
|
-
<div
|
|
717
|
-
onClick={() => {
|
|
718
|
-
setorderindex('');
|
|
719
|
-
}}
|
|
720
|
-
className={`${orderhistory_cssstyles.iconcontainer}`}
|
|
721
|
-
>
|
|
722
|
-
<i className="h-100 d-flex align-items-center justify-content-center">
|
|
723
|
-
{langdetect == 'en' ? <HiOutlineChevronLeft /> : <HiOutlineChevronRight />}
|
|
724
|
-
</i>
|
|
725
|
-
</div>
|
|
726
|
-
<p
|
|
727
|
-
className="m-0 p-0 ml-2 mr-2 wordbreak"
|
|
728
|
-
style={{
|
|
729
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
730
|
-
color: sectionproperties.sectionTitleColor,
|
|
731
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
732
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
733
|
-
}}
|
|
734
|
-
>
|
|
735
|
-
{langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear}:{' '}
|
|
736
|
-
{sectionproperties.showorderid == 'Show' && (
|
|
737
|
-
<span
|
|
738
|
-
style={{
|
|
739
|
-
color: sectionproperties.sectiontitlesecondarycolor,
|
|
740
|
-
direction: 'ltr',
|
|
741
|
-
}}
|
|
742
|
-
>
|
|
743
|
-
#{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid}
|
|
744
|
-
</span>
|
|
745
|
-
)}
|
|
746
|
-
{sectionproperties.showtimestamp == 'Show' && (
|
|
747
|
-
<span
|
|
748
|
-
style={{
|
|
749
|
-
color: sectionproperties.sectiontitlesecondarycolor,
|
|
750
|
-
direction: 'ltr',
|
|
751
|
-
}}
|
|
752
|
-
>
|
|
753
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].timestamp}
|
|
754
|
-
</span>
|
|
755
|
-
)}
|
|
756
|
-
</p>
|
|
757
|
-
</div>
|
|
758
|
-
{authdetailsContext?.instinfo?.instid == '6808c6295b598' && (
|
|
759
|
-
<div class="col-12 allcentered mb-3">
|
|
760
|
-
<button
|
|
761
|
-
style={{
|
|
762
|
-
backgroundColor: 'green',
|
|
763
|
-
borderRadius: 10,
|
|
764
|
-
width: 100,
|
|
765
|
-
height: 40,
|
|
766
|
-
}}
|
|
767
|
-
onClick={() => {
|
|
768
|
-
printOrder();
|
|
769
|
-
}}
|
|
770
|
-
>
|
|
771
|
-
{langdetect == 'en' ? 'Print' : 'عرض الفاتورة'}
|
|
772
|
-
</button>
|
|
773
|
-
</div>
|
|
774
|
-
)}
|
|
775
|
-
{authdetailsContext?.instinfo?.instid == '6886153fad69c' && (
|
|
776
|
-
<div class="col-12 allcentered mb-3">
|
|
777
|
-
<button
|
|
778
|
-
style={{
|
|
779
|
-
backgroundColor: 'green',
|
|
780
|
-
borderRadius: 10,
|
|
781
|
-
width: 100,
|
|
782
|
-
height: 40,
|
|
783
|
-
}}
|
|
784
|
-
onClick={() => {
|
|
785
|
-
printOrder();
|
|
786
|
-
}}
|
|
787
|
-
>
|
|
788
|
-
{langdetect == 'en' ? 'Print' : 'عرض الفاتورة'}
|
|
789
|
-
</button>
|
|
790
|
-
</div>
|
|
791
|
-
)}
|
|
792
|
-
|
|
793
|
-
<div
|
|
794
|
-
className={
|
|
795
|
-
sectionproperties.shownotes == 'Hide' &&
|
|
796
|
-
sectionproperties.showtotalsection == 'Hide' &&
|
|
797
|
-
sectionproperties.showpayemntsection == 'Hide' &&
|
|
798
|
-
sectionproperties.hidecountrystatecity == 'Hide' &&
|
|
799
|
-
sectionproperties.hideshipping == 'Hide' &&
|
|
800
|
-
sectionproperties.hideaddress == 'Hide'
|
|
801
|
-
? 'col-lg-12 p-0'
|
|
802
|
-
: langdetect == 'en'
|
|
803
|
-
? 'col-lg-9 pl-0 p-md-0 mb-md-3'
|
|
804
|
-
: 'col-lg-9 pr-0 p-md-0 mb-md-3'
|
|
805
|
-
}
|
|
806
|
-
>
|
|
807
|
-
<div className="row m-0 w-100">
|
|
808
|
-
<div className="col-lg-12 p-0">
|
|
809
|
-
<div className={`${generalstyles.card}` + ' w-100 pl-3 pr-3 '}>
|
|
810
|
-
<div className="col-lg-12 p-0">
|
|
811
|
-
<div className="row m-0 w-100">
|
|
812
|
-
<div className="col-lg-9 col-md-9 col-sm-6 p-0 d-flex align-items-center justify-content-start">
|
|
813
|
-
<p
|
|
814
|
-
className={orderhistory_cssstyles.innersectiontitlestyles + ' m-0 p-0 wordbreak '}
|
|
815
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
816
|
-
>
|
|
817
|
-
{langdetect == 'en' ? 'Details' : 'التفاصيل'}
|
|
818
|
-
</p>
|
|
819
|
-
</div>
|
|
820
|
-
{sectionproperties.statusvisibility == 'Show' && (
|
|
821
|
-
<div className="col-lg-3 col-md-3 col-sm-6 p-0 d-flex align-items-center justify-content-end">
|
|
822
|
-
<p style={{ width: '.9vh', height: '.9vh', borderRadius: '50%', backgroundColor: 'orange' }} className="m-0 p-0"></p>
|
|
823
|
-
<p
|
|
824
|
-
className="m-0 p-0 fontfamilymedium wordbreak d-flex ml-1 mr-1"
|
|
825
|
-
style={{
|
|
826
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
827
|
-
color: 'orange',
|
|
828
|
-
}}
|
|
829
|
-
>
|
|
830
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].instorderstatus != null
|
|
831
|
-
? langdetect == 'en'
|
|
832
|
-
? fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].instorderstatus.orderstatusname_en
|
|
833
|
-
: fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].instorderstatus.orderstatusname_ar
|
|
834
|
-
: lang.inprogress}
|
|
835
|
-
</p>
|
|
836
|
-
</div>
|
|
837
|
-
)}
|
|
838
|
-
<div className="col-lg-12 p-0">
|
|
839
|
-
<hr className="mt-2 mb-3" />
|
|
840
|
-
</div>
|
|
841
|
-
</div>
|
|
842
|
-
<div className="row m-0 w-100">
|
|
843
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderitems.map((item, index) => {
|
|
844
|
-
var variantoptions = [];
|
|
845
|
-
if (item.isvariant == 1) {
|
|
846
|
-
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
847
|
-
variantoptions = decodevariantoptions;
|
|
848
|
-
}
|
|
849
|
-
if (item.product_extrafields != null) {
|
|
850
|
-
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
851
|
-
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
852
|
-
// alert(product_extrafields_parsed);
|
|
853
|
-
}
|
|
854
|
-
var slot = '';
|
|
855
|
-
if (item.itemtype == 'service') {
|
|
856
|
-
if (item.ser_time != null) {
|
|
857
|
-
slot = item.ser_time;
|
|
858
|
-
const slotsubstr = slot?.substring(0, 2);
|
|
859
|
-
const slotsubstr2 = slot?.substring(2, 5);
|
|
860
|
-
if (slotsubstr == '13') {
|
|
861
|
-
slot = '01' + slotsubstr2 + ' PM';
|
|
862
|
-
} else if (slotsubstr == '14') {
|
|
863
|
-
slot = '02' + slotsubstr2 + ' PM';
|
|
864
|
-
} else if (slotsubstr == '15') {
|
|
865
|
-
slot = '03' + slotsubstr2 + ' PM';
|
|
866
|
-
} else if (slotsubstr == '16') {
|
|
867
|
-
slot = '04' + slotsubstr2 + ' PM';
|
|
868
|
-
} else if (slotsubstr == '17') {
|
|
869
|
-
slot = '05' + slotsubstr2 + ' PM';
|
|
870
|
-
} else if (slotsubstr == '18') {
|
|
871
|
-
slot = '06' + slotsubstr2 + ' PM';
|
|
872
|
-
} else if (slotsubstr == '19') {
|
|
873
|
-
slot = '07' + slotsubstr2 + ' PM';
|
|
874
|
-
} else if (slotsubstr == '20') {
|
|
875
|
-
slot = '08' + slotsubstr2 + ' PM';
|
|
876
|
-
} else if (slotsubstr == '21') {
|
|
877
|
-
slot = '09' + slotsubstr2 + ' PM';
|
|
878
|
-
} else if (slotsubstr == '22') {
|
|
879
|
-
slot = '10' + slotsubstr2 + ' PM';
|
|
880
|
-
} else if (slotsubstr == '23') {
|
|
881
|
-
slot = '11' + slotsubstr2 + ' PM';
|
|
882
|
-
} else if (slotsubstr == '24') {
|
|
883
|
-
slot = '12' + slotsubstr2 + ' AM';
|
|
884
|
-
} else {
|
|
885
|
-
slot = slotsubstr + slotsubstr2 + ' AM';
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
return (
|
|
891
|
-
<div className={' col-lg-12 col-md-12 d-flex p-0'}>
|
|
892
|
-
<div className="row m-0 w-100">
|
|
893
|
-
<div className={' col-lg-12 col-md-12 d-flex p-0'}>
|
|
894
|
-
{item.mainproductimage != undefined && item.mainproductimage != '' && item.mainproductimage != null && (
|
|
895
|
-
<div className={`${orderhistory_cssstyles.tableimagecont}`}>
|
|
896
|
-
<Imagekitimagecomp
|
|
897
|
-
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
898
|
-
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
899
|
-
path={item.mainproductimage}
|
|
900
|
-
style={{
|
|
901
|
-
width: '100%',
|
|
902
|
-
height: '100%',
|
|
903
|
-
objectFit: 'contain',
|
|
904
|
-
}}
|
|
905
|
-
loading="lazy"
|
|
906
|
-
/>
|
|
907
|
-
</div>
|
|
908
|
-
)}
|
|
909
|
-
{item.mainproductimage == '' && (
|
|
910
|
-
<div
|
|
911
|
-
className={`${orderhistory_cssstyles.tableimagecont}` + ' allcentered '}
|
|
912
|
-
style={{ background: '#eee' }}
|
|
913
|
-
>
|
|
914
|
-
<FiLayers color="#ccc" />
|
|
915
|
-
</div>
|
|
916
|
-
)}
|
|
917
|
-
|
|
918
|
-
<div className=" pl-2 pr-2 " style={{ flex: 1 }}>
|
|
919
|
-
<div className="row m-0 w-100 d-flex align-items-start">
|
|
920
|
-
<div className="col-lg-9 col-md-9 col-sm-9 p-0 d-flex align-items-start">
|
|
921
|
-
<p
|
|
922
|
-
className={
|
|
923
|
-
orderhistory_cssstyles.productNameStyles + ' p-0 m-0 wordbreak wordbreak3 cursor-pointer '
|
|
924
|
-
}
|
|
925
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
926
|
-
onClick={() => {
|
|
927
|
-
if (authdetailsContext?.instinfo?.instid == '68248846ec6bc') {
|
|
928
|
-
} else {
|
|
929
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
930
|
-
}
|
|
931
|
-
}}
|
|
932
|
-
>
|
|
933
|
-
{item.productname}
|
|
934
|
-
</p>
|
|
935
|
-
</div>
|
|
936
|
-
{/* {item.productcanrate == 1 && (
|
|
937
|
-
<div className="col-lg-3 col-md-3 col-sm-3 p-0 d-flex justify-content-end align-items-start">
|
|
938
|
-
{item.hasreview == 0 && (
|
|
939
|
-
<p
|
|
940
|
-
class="m-0 p-0 cursor-pointer"
|
|
941
|
-
onClick={() => {
|
|
942
|
-
setopenreviewmodal(true);
|
|
943
|
-
setopenreviewmodalproductobj(item);
|
|
944
|
-
setproductidforreview(item.productid);
|
|
945
|
-
}}
|
|
946
|
-
>
|
|
947
|
-
{langdetect == 'en' ? 'Rate Product' : 'تقييم المنتج'}
|
|
948
|
-
</p>
|
|
949
|
-
)}
|
|
950
|
-
{item.hasreview == 1 && (
|
|
951
|
-
<p
|
|
952
|
-
class="m-0 p-0 cursor-pointer"
|
|
953
|
-
style={{ color: 'green' }}
|
|
954
|
-
onClick={() => {
|
|
955
|
-
setopenreviewmodal(true);
|
|
956
|
-
// setopenreviewmodalproductobj(item);
|
|
957
|
-
setproductidforreview(item.productid);
|
|
958
|
-
}}
|
|
959
|
-
>
|
|
960
|
-
{langdetect == 'en' ? 'View Rate' : 'عرض التقييم'}
|
|
961
|
-
</p>
|
|
962
|
-
)}
|
|
963
|
-
</div>
|
|
964
|
-
)} */}
|
|
965
|
-
{sectionproperties.prodPriceShow == 'Show' && (
|
|
966
|
-
<div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center">
|
|
967
|
-
<p
|
|
968
|
-
className={
|
|
969
|
-
orderhistory_cssstyles.productPricestyles + ' m-0 p-0 wordbreak d-flex flex-row '
|
|
970
|
-
}
|
|
971
|
-
style={{ direction: 'ltr' }}
|
|
972
|
-
>
|
|
973
|
-
<div>
|
|
974
|
-
{item.quantity} x {item.finalprice}{' '}
|
|
975
|
-
{langdetect == 'en'
|
|
976
|
-
? authdetailsContext?.currencyname_en
|
|
977
|
-
: authdetailsContext?.currencyname_ar}
|
|
978
|
-
</div>
|
|
979
|
-
{/* </span> */}
|
|
980
|
-
{/* <span style={{ direction: langdetect == 'en' ? 'ltr' : 'rtl' }}>
|
|
981
|
-
{langdetect == 'en' ? 'EGP' : 'ج.م'} {item.finalprice}
|
|
982
|
-
</span>{' '}
|
|
983
|
-
x {item.quantity}{' '} */}
|
|
984
|
-
</p>
|
|
985
|
-
</div>
|
|
986
|
-
)}
|
|
987
|
-
{item.itemtype == 'service' && (
|
|
988
|
-
<div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center">
|
|
989
|
-
<p
|
|
990
|
-
className={
|
|
991
|
-
orderhistory_cssstyles.productPricestyles + ' m-0 p-0 wordbreak d-flex flex-column '
|
|
992
|
-
}
|
|
993
|
-
style={{ direction: 'ltr' }}
|
|
994
|
-
>
|
|
995
|
-
<p class={' p-0 m-0 '}>{item.ser_date}</p>
|
|
996
|
-
{item.ser_time != null && (
|
|
997
|
-
<p>{sectionproperties.timeformat == '24 HOUR CLOCK' ? item.ser_time : slot}</p>
|
|
998
|
-
)}
|
|
999
|
-
{/* </span> */}
|
|
1000
|
-
{/* <span style={{ direction: langdetect == 'en' ? 'ltr' : 'rtl' }}>
|
|
1001
|
-
{langdetect == 'en' ? 'EGP' : 'ج.م'} {item.finalprice}
|
|
1002
|
-
</span>{' '}
|
|
1003
|
-
x {item.quantity}{' '} */}
|
|
1004
|
-
</p>
|
|
1005
|
-
</div>
|
|
1006
|
-
)}
|
|
1007
|
-
<div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center">
|
|
1008
|
-
{item.isvariant == 1 && (
|
|
1009
|
-
<div className="row m-0 w-100">
|
|
1010
|
-
{variantoptions.map((variantoptionitem, varitanoptionindex) => {
|
|
1011
|
-
return (
|
|
1012
|
-
<div class={orderhistory_cssstyles.variantcontainer + ' mr-1 ml-1 allcentered '}>
|
|
1013
|
-
<p className={' m-0 p-0 font-13 fontfamilymedium wordbreak allcentered '}>
|
|
1014
|
-
{variantoptionitem.optionname}: {variantoptionitem.optionvalue}
|
|
1015
|
-
</p>
|
|
1016
|
-
</div>
|
|
1017
|
-
);
|
|
1018
|
-
})}
|
|
1019
|
-
</div>
|
|
1020
|
-
)}
|
|
1021
|
-
</div>
|
|
1022
|
-
{item.product_extrafields != null && authdetailsContext?.instinfo?.instid != '68248846ec6bc' && (
|
|
1023
|
-
<div class="col-lg-12 p-0 d-flex align-items-center">
|
|
1024
|
-
<div class="row m-0 w-100">
|
|
1025
|
-
{product_extrafields.map((extrafielditem, extrafieldindex) => {
|
|
1026
|
-
return (
|
|
1027
|
-
<div class="col-lg-6 col-md-6 col-sm-12 d-flex">
|
|
1028
|
-
<p
|
|
1029
|
-
class="m-0 p-0"
|
|
1030
|
-
style={{
|
|
1031
|
-
color: sectionproperties.varianttitle_color,
|
|
1032
|
-
fontSize: sectionproperties.varianttitle_fontSize,
|
|
1033
|
-
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1034
|
-
}}
|
|
1035
|
-
>
|
|
1036
|
-
{langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar}:{' '}
|
|
1037
|
-
<span
|
|
1038
|
-
style={{
|
|
1039
|
-
color: sectionproperties.varianttext_color,
|
|
1040
|
-
fontSize: sectionproperties.varianttext_fontSize,
|
|
1041
|
-
fontWeight: sectionproperties.varianttext_fontweight,
|
|
1042
|
-
}}
|
|
1043
|
-
>
|
|
1044
|
-
{extrafielditem.value}
|
|
1045
|
-
</span>
|
|
1046
|
-
</p>
|
|
1047
|
-
</div>
|
|
1048
|
-
);
|
|
1049
|
-
})}
|
|
1050
|
-
</div>
|
|
1051
|
-
</div>
|
|
1052
|
-
)}
|
|
1053
|
-
{item.product_extrafields != null && authdetailsContext?.instinfo?.instid == '68248846ec6bc' && (
|
|
1054
|
-
<div class="col-lg-12 p-0 d-flex align-items-center">
|
|
1055
|
-
<div class="row m-0 w-100">
|
|
1056
|
-
{/* {product_extrafields.map((extrafielditem, extrafieldindex) => {
|
|
1057
|
-
return (
|
|
1058
|
-
<div class="col-lg-6 col-md-6 col-sm-12 d-flex">
|
|
1059
|
-
<p
|
|
1060
|
-
class="m-0 p-0"
|
|
1061
|
-
style={{
|
|
1062
|
-
color: sectionproperties.varianttitle_color,
|
|
1063
|
-
fontSize: sectionproperties.varianttitle_fontSize,
|
|
1064
|
-
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1065
|
-
}}
|
|
1066
|
-
>
|
|
1067
|
-
{langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar}:{' '}
|
|
1068
|
-
<span
|
|
1069
|
-
style={{
|
|
1070
|
-
color: sectionproperties.varianttext_color,
|
|
1071
|
-
fontSize: sectionproperties.varianttext_fontSize,
|
|
1072
|
-
fontWeight: sectionproperties.varianttext_fontweight,
|
|
1073
|
-
}}
|
|
1074
|
-
>
|
|
1075
|
-
{extrafielditem.value}
|
|
1076
|
-
</span>
|
|
1077
|
-
</p>
|
|
1078
|
-
</div>
|
|
1079
|
-
);
|
|
1080
|
-
})} */}
|
|
1081
|
-
<table className={'table tablevertical'}>
|
|
1082
|
-
{product_extrafields.map((extrafielditem, extrafieldindex) => {
|
|
1083
|
-
return (
|
|
1084
|
-
<tr>
|
|
1085
|
-
<th
|
|
1086
|
-
style={{
|
|
1087
|
-
textTransform: 'capitalize',
|
|
1088
|
-
color: '#000',
|
|
1089
|
-
fontWeight: 400,
|
|
1090
|
-
}}
|
|
1091
|
-
>
|
|
1092
|
-
<div
|
|
1093
|
-
class="d-flex flex-row"
|
|
1094
|
-
style={{
|
|
1095
|
-
color: sectionproperties.featurecolor,
|
|
1096
|
-
}}
|
|
1097
|
-
>
|
|
1098
|
-
{langdetect == 'en'
|
|
1099
|
-
? extrafielditem.title_en
|
|
1100
|
-
: extrafielditem.title_ar}
|
|
1101
|
-
</div>
|
|
1102
|
-
</th>
|
|
1103
|
-
<td
|
|
1104
|
-
style={{
|
|
1105
|
-
color: '#000',
|
|
1106
|
-
fontWeight: 400,
|
|
1107
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
1108
|
-
}}
|
|
1109
|
-
>
|
|
1110
|
-
{extrafielditem.value}
|
|
1111
|
-
</td>
|
|
1112
|
-
</tr>
|
|
1113
|
-
);
|
|
1114
|
-
})}
|
|
1115
|
-
</table>
|
|
1116
|
-
</div>
|
|
1117
|
-
</div>
|
|
1118
|
-
)}
|
|
1119
|
-
</div>
|
|
1120
|
-
</div>
|
|
1121
|
-
</div>
|
|
1122
|
-
|
|
1123
|
-
<div className="col-lg-12 p-0">
|
|
1124
|
-
<hr className="mt- mb-3" />
|
|
1125
|
-
</div>
|
|
1126
|
-
</div>
|
|
1127
|
-
</div>
|
|
1128
|
-
);
|
|
1129
|
-
})}
|
|
1130
|
-
{showdeletebuttonorder() && (
|
|
1131
|
-
<div className="col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3">
|
|
1132
|
-
<button
|
|
1133
|
-
className={' d-flex align-items-center justify-content-center '}
|
|
1134
|
-
onClick={() => {
|
|
1135
|
-
GeneralAPIMutationContext.mutate({
|
|
1136
|
-
endpointurl: '/deleteorder',
|
|
1137
|
-
orderid: fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid,
|
|
1138
|
-
|
|
1139
|
-
mutateSuccesscallback: (data, variables) => {
|
|
1140
|
-
if (data.data.status) {
|
|
1141
|
-
window.location.reload();
|
|
1142
|
-
} else {
|
|
1143
|
-
NotificationManager.warning('', data.data.reason);
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
});
|
|
1147
|
-
}}
|
|
1148
|
-
disabled={GeneralAPIMutationContext.isLoading ? true : false}
|
|
1149
|
-
>
|
|
1150
|
-
{GeneralAPIMutationContext.isLoading && <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />}
|
|
1151
|
-
{!GeneralAPIMutationContext.isLoading && <p class="m-0 p-0"> {langdetect == 'en' ? 'Delete Order' : 'حذف الطلب'}</p>}
|
|
1152
|
-
</button>
|
|
1153
|
-
</div>
|
|
1154
|
-
)}
|
|
1155
|
-
</div>
|
|
1156
|
-
</div>
|
|
1157
|
-
</div>
|
|
1158
|
-
</div>
|
|
1159
|
-
</div>
|
|
1160
|
-
</div>
|
|
1161
|
-
<div
|
|
1162
|
-
className={langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0'}
|
|
1163
|
-
style={{
|
|
1164
|
-
display:
|
|
1165
|
-
sectionproperties.shownotes == 'Hide' &&
|
|
1166
|
-
sectionproperties.showtotalsection == 'Hide' &&
|
|
1167
|
-
sectionproperties.showpayemntsection == 'Hide' &&
|
|
1168
|
-
sectionproperties.hidecountrystatecity == 'Hide' &&
|
|
1169
|
-
sectionproperties.hideshipping == 'Hide' &&
|
|
1170
|
-
sectionproperties.hideaddress == 'Hide'
|
|
1171
|
-
? 'none'
|
|
1172
|
-
: 'flex',
|
|
1173
|
-
}}
|
|
1174
|
-
>
|
|
1175
|
-
<div class="row m-0 w-100">
|
|
1176
|
-
<div class="col-lg-12 p-0">
|
|
1177
|
-
<div
|
|
1178
|
-
className="row m-0 w-100 mb-3"
|
|
1179
|
-
style={{
|
|
1180
|
-
background: sectionproperties.userinfo_sectionbgcolor,
|
|
1181
|
-
borderRadius: sectionproperties.userinfo_borderradius + 'px',
|
|
1182
|
-
marginTop: sectionproperties.userinfo_sectionmarginTop + 'px',
|
|
1183
|
-
marginBottom: sectionproperties.userinfo_sectionmarginbottom + 'px',
|
|
1184
|
-
border: sectionproperties.userinfo_borderwidth + 'px solid ' + sectionproperties.usserinfo_sectionbordercolor,
|
|
1185
|
-
display:
|
|
1186
|
-
sectionproperties.hidecountrystatecity == 'Hide' &&
|
|
1187
|
-
sectionproperties.hideshipping == 'Hide' &&
|
|
1188
|
-
sectionproperties.hideaddress == 'Hide' &&
|
|
1189
|
-
sectionproperties.shownotes == 'Hide'
|
|
1190
|
-
? 'none'
|
|
1191
|
-
: 'flex',
|
|
1192
|
-
}}
|
|
1193
|
-
>
|
|
1194
|
-
<div className="col-lg-12 pl-3 pr-3 pt-2">
|
|
1195
|
-
<p
|
|
1196
|
-
className={orderhistory_cssstyles.innersectiontitlestyles + ' m-0 p-0 wordbreak '}
|
|
1197
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
1198
|
-
>
|
|
1199
|
-
{lang.shippingaddress}
|
|
1200
|
-
</p>
|
|
1201
|
-
</div>
|
|
1202
|
-
<div className="col-lg-12 p-0">
|
|
1203
|
-
<hr className="mt-2 mb-2" />
|
|
1204
|
-
</div>
|
|
1205
|
-
<div className="row m-0 w-100 pl-3 pr-3 pb-2">
|
|
1206
|
-
{sectionproperties.hidecountrystatecity == 'Show' && (
|
|
1207
|
-
<div className="col-lg-12 d-flex fontfamilymedium text-focus mb-2">
|
|
1208
|
-
<i className="h-100 d-flex align-items-center justify-content-center opacity-6">
|
|
1209
|
-
<GoGlobe className={`${orderhistory_cssstyles.userinfotexticonstyles}`} />
|
|
1210
|
-
</i>
|
|
1211
|
-
<p className={orderhistory_cssstyles.userinfotextstyles + ' m-0 p-0 text-capitalize ml-2 mr-2 '}>
|
|
1212
|
-
{lang.country}:{' '}
|
|
1213
|
-
<span
|
|
1214
|
-
style={{
|
|
1215
|
-
color: sectionproperties.userinfotextsecondarycolor,
|
|
1216
|
-
fontWeight: sectionproperties.userinfo_fontweight,
|
|
1217
|
-
fontSize: sectionproperties.userinfo_fontsize + 'px',
|
|
1218
|
-
}}
|
|
1219
|
-
>
|
|
1220
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].country}
|
|
1221
|
-
</span>
|
|
1222
|
-
</p>
|
|
1223
|
-
</div>
|
|
1224
|
-
)}
|
|
1225
|
-
{sectionproperties.hidecountrystatecity == 'Show' && (
|
|
1226
|
-
<div className="col-lg-12 d-flex fontfamilymedium text-focus mb-2">
|
|
1227
|
-
<i className="h-100 d-flex align-items-center justify-content-center">
|
|
1228
|
-
<VscGlobe className={`${orderhistory_cssstyles.userinfotexticonstyles}`} />
|
|
1229
|
-
</i>
|
|
1230
|
-
<p className={orderhistory_cssstyles.userinfotextstyles + ' m-0 p-0 text-capitalize ml-2 mr-2 '}>
|
|
1231
|
-
{lang.stategov}:{' '}
|
|
1232
|
-
<span className={orderhistory_cssstyles.userinfotextstyles} style={{ color: sectionproperties.userinfotextsecondarycolor }}>
|
|
1233
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state}
|
|
1234
|
-
</span>
|
|
1235
|
-
</p>
|
|
1236
|
-
</div>
|
|
1237
|
-
)}
|
|
1238
|
-
{sectionproperties.hideshipping == 'Show' && (
|
|
1239
|
-
<div className="col-lg-12 d-flex fontfamilymedium text-focus mb-2">
|
|
1240
|
-
<i className="h-100 d-flex align-items-center justify-content-center">
|
|
1241
|
-
<VscGlobe className={`${orderhistory_cssstyles.userinfotexticonstyles}`} />
|
|
1242
|
-
</i>
|
|
1243
|
-
<p className={orderhistory_cssstyles.userinfotextstyles + ' m-0 p-0 text-capitalize ml-2 mr-2 '}>
|
|
1244
|
-
{lang.shippingfees}:{' '}
|
|
1245
|
-
<span style={{ color: sectionproperties.userinfotextsecondarycolor }}>
|
|
1246
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
1247
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].zoneprice}{' '}
|
|
1248
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1249
|
-
</span>
|
|
1250
|
-
</p>
|
|
1251
|
-
</div>
|
|
1252
|
-
)}
|
|
1253
|
-
{sectionproperties.hideaddress == 'Show' && (
|
|
1254
|
-
<div className="col-lg-12 d-flex fontfamilymedium text-focus">
|
|
1255
|
-
<i className="h-100 d-flex align-items-center justify-content-center">
|
|
1256
|
-
<IoLocationSharp className={`${orderhistory_cssstyles.userinfotexticonstyles}`} />
|
|
1257
|
-
</i>
|
|
1258
|
-
<p className={orderhistory_cssstyles.userinfotextstyles + ' m-0 p-0 text-capitalize ml-2 mr-2 '}>
|
|
1259
|
-
{lang.address}:{' '}
|
|
1260
|
-
<span style={{ color: sectionproperties.userinfotextsecondarycolor }}>
|
|
1261
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].address}
|
|
1262
|
-
</span>
|
|
1263
|
-
</p>
|
|
1264
|
-
</div>
|
|
1265
|
-
)}
|
|
1266
|
-
</div>
|
|
1267
|
-
</div>
|
|
1268
|
-
{sectionproperties.shownotes == 'Show' && fetchorderhistoryQueryContext?.data?.data?.ordershistory[orderindex].notes != null && (
|
|
1269
|
-
<div
|
|
1270
|
-
className="row m-0 w-100 mb-3"
|
|
1271
|
-
style={{
|
|
1272
|
-
background: sectionproperties.userinfo_sectionbgcolor,
|
|
1273
|
-
borderRadius: sectionproperties.userinfo_borderradius + 'px',
|
|
1274
|
-
marginTop: sectionproperties.userinfo_sectionmarginTop + 'px',
|
|
1275
|
-
marginBottom: sectionproperties.userinfo_sectionmarginbottom + 'px',
|
|
1276
|
-
border: sectionproperties.userinfo_borderwidth + 'px solid ' + sectionproperties.usserinfo_sectionbordercolor,
|
|
1277
|
-
}}
|
|
1278
|
-
>
|
|
1279
|
-
<div className="col-lg-12 pl-3 pr-3 pt-2">
|
|
1280
|
-
<p
|
|
1281
|
-
className={orderhistory_cssstyles.innersectiontitlestyles + ' m-0 p-0 wordbreak '}
|
|
1282
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
1283
|
-
>
|
|
1284
|
-
{langdetect == 'en' ? 'Notes' : 'الملاحظات'}
|
|
1285
|
-
</p>
|
|
1286
|
-
</div>
|
|
1287
|
-
<div className="col-lg-12 p-0">
|
|
1288
|
-
<hr className="mt-2 mb-2" />
|
|
1289
|
-
</div>
|
|
1290
|
-
<div className="row m-0 w-100 pl-3 pr-3 pb-2">
|
|
1291
|
-
<div className="col-lg-12 d-flex fontfamilymedium p-0 text-focus mb-2">
|
|
1292
|
-
<p className={orderhistory_cssstyles.userinfotextstyles + ' m-0 p-0 text-capitalize ml-2 mr-2 '}>
|
|
1293
|
-
<span
|
|
1294
|
-
style={{
|
|
1295
|
-
color: sectionproperties.userinfotextsecondarycolor,
|
|
1296
|
-
fontWeight: sectionproperties.userinfo_fontweight,
|
|
1297
|
-
fontSize: sectionproperties.userinfo_fontsize + 'px',
|
|
1298
|
-
}}
|
|
1299
|
-
>
|
|
1300
|
-
{fetchorderhistoryQueryContext?.data?.data?.ordershistory[orderindex]?.notes}
|
|
1301
|
-
</span>
|
|
1302
|
-
</p>
|
|
1303
|
-
</div>
|
|
1304
|
-
</div>
|
|
1305
|
-
</div>
|
|
1306
|
-
)}
|
|
1307
|
-
{sectionproperties.showtotalsection == 'Show' && (
|
|
1308
|
-
<div
|
|
1309
|
-
className="row m-0 w-100 mb-3"
|
|
1310
|
-
style={{
|
|
1311
|
-
background: sectionproperties.summary_sectionbgcolor,
|
|
1312
|
-
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
1313
|
-
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor,
|
|
1314
|
-
}}
|
|
1315
|
-
>
|
|
1316
|
-
<div className="col-lg-12 pl-3 pr-3 pt-2">
|
|
1317
|
-
<p
|
|
1318
|
-
className={orderhistory_cssstyles.innersectiontitlestyles + ' m-0 p-0 wordbreak '}
|
|
1319
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
1320
|
-
>
|
|
1321
|
-
{lang.orderinvoice}
|
|
1322
|
-
</p>
|
|
1323
|
-
</div>
|
|
1324
|
-
<div className="col-lg-12 p-0">
|
|
1325
|
-
<hr className="mt-2 mb-2" />
|
|
1326
|
-
</div>
|
|
1327
|
-
<div className="row m-0 w-100 pl-3 pr-3 pb-2">
|
|
1328
|
-
<div className="row m-0 w-100 mb-2">
|
|
1329
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex p-0">
|
|
1330
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
1331
|
-
{authdetailsContext?.instinfo?.contactinfo.instid == '6808c6295b598'
|
|
1332
|
-
? langdetect == 'en'
|
|
1333
|
-
? 'Sub Total'
|
|
1334
|
-
: 'تكلفة المنتجات'
|
|
1335
|
-
: lang.subtotal}
|
|
1336
|
-
</p>
|
|
1337
|
-
</div>
|
|
1338
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
|
|
1339
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 text-capitalize '}>
|
|
1340
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
1341
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderitemstotalprice}{' '}
|
|
1342
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1343
|
-
</p>
|
|
1344
|
-
</div>
|
|
1345
|
-
</div>
|
|
1346
|
-
{fetchorderhistoryQueryContext?.data?.data?.ordershistory[orderindex]?.usewalletpoints == 1 && (
|
|
1347
|
-
<div className="row m-0 w-100 mb-2">
|
|
1348
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex p-0">
|
|
1349
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
1350
|
-
{langdetect == 'en' ? 'Wallet discount' : 'خصم المحفظة'}
|
|
1351
|
-
</p>
|
|
1352
|
-
</div>
|
|
1353
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
|
|
1354
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 text-capitalize '} style={{ color: 'red' }}>
|
|
1355
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} -{' '}
|
|
1356
|
-
{fetchorderhistoryQueryContext?.data?.data?.ordershistory[orderindex]?.walletpointsused}
|
|
1357
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1358
|
-
</p>
|
|
1359
|
-
</div>
|
|
1360
|
-
</div>
|
|
1361
|
-
)}
|
|
1362
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].haspromocode == 1 && (
|
|
1363
|
-
<div className="row m-0 w-100 mb-2">
|
|
1364
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex p-0">
|
|
1365
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
1366
|
-
{lang.promocodediscount}
|
|
1367
|
-
</p>
|
|
1368
|
-
</div>
|
|
1369
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
|
|
1370
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 '}>
|
|
1371
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
1372
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].discountprice}{' '}
|
|
1373
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1374
|
-
</p>
|
|
1375
|
-
</div>
|
|
1376
|
-
</div>
|
|
1377
|
-
)}
|
|
1378
|
-
{sectionproperties.hideshipping == 'Show' && (
|
|
1379
|
-
<div className="row m-0 w-100 mb-2">
|
|
1380
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex p-0">
|
|
1381
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
1382
|
-
{lang.shippingfees}
|
|
1383
|
-
</p>
|
|
1384
|
-
</div>
|
|
1385
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
|
|
1386
|
-
<p className={`${orderhistory_cssstyles.summarysectionstyles}` + ' m-0 p-0 '}>
|
|
1387
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
1388
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].zoneprice}{' '}
|
|
1389
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1390
|
-
</p>
|
|
1391
|
-
</div>
|
|
1392
|
-
</div>
|
|
1393
|
-
)}
|
|
1394
|
-
|
|
1395
|
-
<div className="col-lg-12 p-0">
|
|
1396
|
-
<hr className="mt-2 mb-2" />
|
|
1397
|
-
</div>
|
|
1398
|
-
<div className="row m-0 w-100 mb-2">
|
|
1399
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex p-0">
|
|
1400
|
-
<p
|
|
1401
|
-
className="m-0 p-0"
|
|
1402
|
-
style={{
|
|
1403
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
1404
|
-
fontWeight: sectionproperties.total_fontweight,
|
|
1405
|
-
textTransform: sectionproperties.total_texttransform,
|
|
1406
|
-
color: sectionproperties.total_color,
|
|
1407
|
-
}}
|
|
1408
|
-
>
|
|
1409
|
-
{authdetailsContext?.instinfo?.contactinfo.instid == '6808c6295b598'
|
|
1410
|
-
? langdetect == 'en'
|
|
1411
|
-
? 'Total'
|
|
1412
|
-
: 'المبلغ الإجمالي'
|
|
1413
|
-
: lang.total}
|
|
1414
|
-
</p>
|
|
1415
|
-
</div>
|
|
1416
|
-
<div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
|
|
1417
|
-
<p
|
|
1418
|
-
className="m-0 p-0"
|
|
1419
|
-
style={{
|
|
1420
|
-
fontSize: sectionproperties.total_fontsize + 'px',
|
|
1421
|
-
fontWeight: sectionproperties.total_fontweight,
|
|
1422
|
-
textTransform: sectionproperties.total_texttransform,
|
|
1423
|
-
color: sectionproperties.total_color,
|
|
1424
|
-
}}
|
|
1425
|
-
>
|
|
1426
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
|
|
1427
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice}{' '}
|
|
1428
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1429
|
-
</p>
|
|
1430
|
-
</div>
|
|
1431
|
-
</div>
|
|
1432
|
-
</div>
|
|
1433
|
-
</div>
|
|
1434
|
-
)}
|
|
1435
|
-
{sectionproperties.showpayemntsection == 'Show' && (
|
|
1436
|
-
<div
|
|
1437
|
-
className="row m-0 w-100 mb-3"
|
|
1438
|
-
style={{
|
|
1439
|
-
background: sectionproperties.payment_sectionbgcolor,
|
|
1440
|
-
borderRadius: sectionproperties.payment_borderradius + 'px',
|
|
1441
|
-
border: sectionproperties.payment_borderwidth + 'px solid ' + sectionproperties.payment_sectionbordercolor,
|
|
1442
|
-
}}
|
|
1443
|
-
>
|
|
1444
|
-
<div className="row m-0 w-100">
|
|
1445
|
-
<div className="col-lg-12 pl-3 pr-3 pt-2">
|
|
1446
|
-
<p
|
|
1447
|
-
className={orderhistory_cssstyles.innersectiontitlestyles + ' m-0 p-0 wordbreak '}
|
|
1448
|
-
style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
|
|
1449
|
-
>
|
|
1450
|
-
{lang.paymentmethod}
|
|
1451
|
-
</p>
|
|
1452
|
-
</div>
|
|
1453
|
-
<div className="col-lg-12 p-0">
|
|
1454
|
-
<hr className="mt-2 mb-2" />
|
|
1455
|
-
</div>
|
|
1456
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].paymentmethod != 'cod' && (
|
|
1457
|
-
<div className="row m-0 w-100 mb-2 d-flex align-items-center pl-3 pr-3">
|
|
1458
|
-
<img src={'https://tabex-co.com/storage/StaticImages/payment.png'} style={{ maxWidth: '5vh', maxHeight: '4vh' }} />
|
|
1459
|
-
<p
|
|
1460
|
-
className="m-0 p-0 ml-2 mr-2"
|
|
1461
|
-
style={{
|
|
1462
|
-
fontSize: sectionproperties.paymenttextfontsize + 'px',
|
|
1463
|
-
color: sectionproperties.paymenttextcolor,
|
|
1464
|
-
fontWeight: sectionproperties.paymenttextfontweight,
|
|
1465
|
-
}}
|
|
1466
|
-
>
|
|
1467
|
-
{langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar}
|
|
1468
|
-
</p>
|
|
1469
|
-
</div>
|
|
1470
|
-
)}
|
|
1471
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].paymentmethod == 'cod' && (
|
|
1472
|
-
<div className="row m-0 w-100 mb-2 d-flex align-items-center pl-3 pr-3">
|
|
1473
|
-
<img src={'https://tabex-co.com/storage/StaticImages/cod.png'} style={{ maxWidth: '5vh', maxHeight: '4vh' }} />
|
|
1474
|
-
<p
|
|
1475
|
-
className="m-0 p-0 ml-2 mr-2"
|
|
1476
|
-
style={{
|
|
1477
|
-
fontSize: sectionproperties.paymenttextfontsize + 'px',
|
|
1478
|
-
color: sectionproperties.paymenttextcolor,
|
|
1479
|
-
fontWeight: sectionproperties.paymenttextfontweight,
|
|
1480
|
-
}}
|
|
1481
|
-
>
|
|
1482
|
-
{langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar}
|
|
1483
|
-
</p>
|
|
1484
|
-
</div>
|
|
1485
|
-
)}
|
|
1486
|
-
</div>
|
|
1487
|
-
</div>
|
|
1488
|
-
)}
|
|
1489
|
-
</div>
|
|
1490
|
-
</div>
|
|
1491
|
-
</div>
|
|
1492
|
-
</div>
|
|
1493
|
-
)}
|
|
1494
|
-
</div>
|
|
1495
|
-
</div>
|
|
1496
|
-
{/* <Modal show={openreviewmodal} onHide={() => setopenreviewmodal(false)} centered size="lg">
|
|
1497
|
-
<Modal.Body>
|
|
1498
|
-
<AddReview actions={{ ...actions, productid: productidforreview, canuserreview: true, addreviewcallback: addreviewcallback }} />
|
|
1499
|
-
</Modal.Body>
|
|
1500
|
-
</Modal> */}
|
|
1501
|
-
{/* {orderindex.length != 0 && (
|
|
1502
|
-
<Modal show={openorderitemsmodalshow} onHide={() => setopenorderitemsmodalshow(false)} centered size="lg">
|
|
1503
|
-
<Modal.Body>
|
|
1504
|
-
<div className={'row ml-0 mr-0 mt-2 w-100 pb-3 mb-3'}>
|
|
1505
|
-
<div className={`${generalstyles.table_responsive}` + ' col-lg-12 '}>
|
|
1506
|
-
<table className={`${generalstyles.table} ${generalstyles.table_hover} ${generalstyles.table_bordered}`}>
|
|
1507
|
-
<thead
|
|
1508
|
-
className=""
|
|
1509
|
-
style={{
|
|
1510
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1511
|
-
}}
|
|
1512
|
-
>
|
|
1513
|
-
<th className=" text-capitalize text-center ">{langdetect == 'en' ? 'Image' : 'الصورة'}</th>
|
|
1514
|
-
<th className={langdetect == 'en' ? 'text-capitalize' : 'text-capitalize text-right'}>{langdetect == 'en' ? 'Product Name' : 'إسم المنتج'}</th>
|
|
1515
|
-
<th className="text-center">{langdetect == 'en' ? 'Price' : 'السعر'}</th>
|
|
1516
|
-
<th className="text-capitalize text-center">{langdetect == 'en' ? 'َQuantity' : 'الكمية'}</th>
|
|
1517
|
-
<th className="text-capitalize text-center">{langdetect == 'en' ? 'Total' : 'الإجمالى'}</th>
|
|
1518
|
-
</thead>
|
|
1519
|
-
<tbody>
|
|
1520
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderitems.map((item, index) => {
|
|
1521
|
-
var variantoptions = [];
|
|
1522
|
-
if (item.isvariant == 1) {
|
|
1523
|
-
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
1524
|
-
variantoptions = decodevariantoptions;
|
|
1525
|
-
}
|
|
1526
|
-
return (
|
|
1527
|
-
<tr
|
|
1528
|
-
style={{
|
|
1529
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.secondarycolor,
|
|
1530
|
-
}}
|
|
1531
|
-
>
|
|
1532
|
-
<td style={{ width: '50px' }}>
|
|
1533
|
-
<div className={`${generalstyles.image_table}` + ' mb-auto ml-auto mr-auto '}>
|
|
1534
|
-
<img src={serverbaselink + item.mainproductimage} />
|
|
1535
|
-
</div>
|
|
1536
|
-
</td>
|
|
1537
|
-
<td className={langdetect == 'en' ? 'text-capitalize' : 'text-capitalize text-right'} style={{ maxWidth: '200px' }}>
|
|
1538
|
-
<div>
|
|
1539
|
-
{item.productname}
|
|
1540
|
-
{item.isvariant == 1 && (
|
|
1541
|
-
<div className="row m-0 w-100">
|
|
1542
|
-
{variantoptions.map((variantoptionitem, varitanoptionindex) => {
|
|
1543
|
-
return (
|
|
1544
|
-
<span className={`${generalstyles.pill} ` + ' mr-1 ml-1 mb-2 pl-2 pr-2 bg-info font-weight-500 '}>
|
|
1545
|
-
{variantoptionitem.valuename}
|
|
1546
|
-
</span>
|
|
1547
|
-
);
|
|
1548
|
-
})}
|
|
1549
|
-
</div>
|
|
1550
|
-
)}
|
|
1551
|
-
</div>
|
|
1552
|
-
</td>
|
|
1553
|
-
<td className="text-center" style={{ maxWidth: '70px' }}>
|
|
1554
|
-
{item.finalprice} {lang.egp}
|
|
1555
|
-
</td>
|
|
1556
|
-
<td className="text-center" style={{ maxWidth: '70px' }}>
|
|
1557
|
-
{item.quantity}
|
|
1558
|
-
</td>
|
|
1559
|
-
<td style={{ maxWidth: '70px' }} className="text-center">
|
|
1560
|
-
<div className="row m-0 w-100 text-center">
|
|
1561
|
-
<span className="m-auto">
|
|
1562
|
-
{item.itemtotalprice} {lang.egp}
|
|
1563
|
-
</span>
|
|
1564
|
-
</div>
|
|
1565
|
-
</td>
|
|
1566
|
-
</tr>
|
|
1567
|
-
);
|
|
1568
|
-
})}
|
|
1569
|
-
</tbody>
|
|
1570
|
-
</table>
|
|
1571
|
-
</div>
|
|
1572
|
-
<div className="w-100 row m-0">
|
|
1573
|
-
<div className="col-lg-12 mb-3">
|
|
1574
|
-
<div className={`${generalstyles.card}`}>
|
|
1575
|
-
<div className="w-100 row m-0">
|
|
1576
|
-
<div className="col-lg-12 p-0">
|
|
1577
|
-
<p
|
|
1578
|
-
className="m-0 p-0 font-weight-600 font-15 d-flex align-items-"
|
|
1579
|
-
style={{
|
|
1580
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1581
|
-
}}
|
|
1582
|
-
>
|
|
1583
|
-
{langdetect == 'en' ? 'Order Shipping Details' : 'تفاصيل الشحن'}
|
|
1584
|
-
</p>
|
|
1585
|
-
</div>
|
|
1586
|
-
<div className="col-lg-12 p-0">
|
|
1587
|
-
<hr className="mt-2 mb-2" />
|
|
1588
|
-
</div>
|
|
1589
|
-
<div className="col-lg-6 mb-2 d-flex align-items-center">
|
|
1590
|
-
<div
|
|
1591
|
-
className="d-flex align-items-center justify-content-center"
|
|
1592
|
-
style={{ width: '3.5vh', height: '3.5vh', borderRadius: '50%', background: 'white', boxShadow: '0 0 10px #e6e6e6' }}
|
|
1593
|
-
>
|
|
1594
|
-
<i className="fa fa-globe text-light"></i>
|
|
1595
|
-
</div>
|
|
1596
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-light ml-1 mr-1">
|
|
1597
|
-
{langdetect == 'en' ? 'Country' : 'البلد'}:{' '}
|
|
1598
|
-
<span
|
|
1599
|
-
className="font-weight-600 wordbreak"
|
|
1600
|
-
style={{
|
|
1601
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.secondarycolor,
|
|
1602
|
-
}}
|
|
1603
|
-
>
|
|
1604
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].country}
|
|
1605
|
-
</span>
|
|
1606
|
-
</p>
|
|
1607
|
-
</div>
|
|
1608
|
-
<div className="col-lg-6 d-flex align-items-center mb-2">
|
|
1609
|
-
<div
|
|
1610
|
-
className="d-flex align-items-center justify-content-center"
|
|
1611
|
-
style={{ width: '3.5vh', height: '3.5vh', borderRadius: '50%', background: 'white', boxShadow: '0 0 10px #e6e6e6' }}
|
|
1612
|
-
>
|
|
1613
|
-
<i className="fa fa-globe text-light"></i>
|
|
1614
|
-
</div>
|
|
1615
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-light ml-1 mr-1">
|
|
1616
|
-
{langdetect == 'en' ? 'State' : 'المحافظة'}:{' '}
|
|
1617
|
-
<span
|
|
1618
|
-
className="font-weight-600 wordbreak"
|
|
1619
|
-
style={{
|
|
1620
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.secondarycolor,
|
|
1621
|
-
}}
|
|
1622
|
-
>
|
|
1623
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].state}
|
|
1624
|
-
</span>
|
|
1625
|
-
</p>
|
|
1626
|
-
</div>
|
|
1627
|
-
<div className="col-lg-6 d-flex align-items-center">
|
|
1628
|
-
<div
|
|
1629
|
-
className="d-flex align-items-center justify-content-center"
|
|
1630
|
-
style={{ width: '3.5vh', height: '3.5vh', borderRadius: '50%', background: 'white', boxShadow: '0 0 10px #e6e6e6' }}
|
|
1631
|
-
>
|
|
1632
|
-
<i className="text-light d-flex align-items-center justify-content-center">
|
|
1633
|
-
<FaMoneyBillWaveAlt />
|
|
1634
|
-
</i>
|
|
1635
|
-
</div>
|
|
1636
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-light ml-1 mr-1">
|
|
1637
|
-
{langdetect == 'en' ? 'Shipping Fees' : 'مصاريف الشحن'}:{' '}
|
|
1638
|
-
<span
|
|
1639
|
-
className="font-weight-600 wordbreak"
|
|
1640
|
-
style={{
|
|
1641
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.secondarycolor,
|
|
1642
|
-
}}
|
|
1643
|
-
>
|
|
1644
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].zoneprice} EGP
|
|
1645
|
-
</span>
|
|
1646
|
-
</p>
|
|
1647
|
-
</div>
|
|
1648
|
-
<div className="col-lg-6 d-flex align-items-center">
|
|
1649
|
-
<div
|
|
1650
|
-
className="d-flex align-items-center justify-content-center"
|
|
1651
|
-
style={{ width: '3.5vh', height: '3.5vh', borderRadius: '50%', background: 'white', boxShadow: '0 0 10px #e6e6e6' }}
|
|
1652
|
-
>
|
|
1653
|
-
<i className="d-flex align-items-center justify-content-center text-light">
|
|
1654
|
-
<IoLocationSharp />
|
|
1655
|
-
</i>
|
|
1656
|
-
</div>
|
|
1657
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-light ml-1 mr-1">
|
|
1658
|
-
{langdetect == 'en' ? 'Address' : 'العنوان'}:{' '}
|
|
1659
|
-
<span
|
|
1660
|
-
className="font-weight-600 wordbreak"
|
|
1661
|
-
style={{
|
|
1662
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.secondarycolor,
|
|
1663
|
-
}}
|
|
1664
|
-
>
|
|
1665
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].address}
|
|
1666
|
-
</span>
|
|
1667
|
-
</p>
|
|
1668
|
-
</div>
|
|
1669
|
-
</div>
|
|
1670
|
-
</div>
|
|
1671
|
-
</div>
|
|
1672
|
-
<div className="col-lg-12">
|
|
1673
|
-
<div className={`${generalstyles.card}`}>
|
|
1674
|
-
<div className="w-100 row m-0">
|
|
1675
|
-
<div className="col-lg-12 p-0">
|
|
1676
|
-
<p
|
|
1677
|
-
className="m-0 p-0 font-weight-600 font-15"
|
|
1678
|
-
style={{
|
|
1679
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1680
|
-
}}
|
|
1681
|
-
>
|
|
1682
|
-
{langdetect == 'en' ? 'Order Summary' : 'ملخص الطلب'}
|
|
1683
|
-
</p>
|
|
1684
|
-
</div>
|
|
1685
|
-
<div className="col-lg-12 p-0">
|
|
1686
|
-
<hr className="mt-2 mb-2" />
|
|
1687
|
-
</div>
|
|
1688
|
-
<div className="col-lg-6 mb-2 d-flex align-items-center">
|
|
1689
|
-
<div
|
|
1690
|
-
className="d-flex align-items-center justify-content-center"
|
|
1691
|
-
style={{ width: '3.5vh', height: '3.5vh', borderRadius: '50%', background: 'white', boxShadow: '0 0 10px #e6e6e6' }}
|
|
1692
|
-
>
|
|
1693
|
-
<i className="fa fa-globe text-light"></i>
|
|
1694
|
-
</div>
|
|
1695
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-light ml-1 mr-1">
|
|
1696
|
-
{langdetect == 'en' ? 'Payment Method' : 'طريقة الدفع'}:{' '}
|
|
1697
|
-
<span
|
|
1698
|
-
className="font-weight-600 wordbreak"
|
|
1699
|
-
style={{
|
|
1700
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.secondarycolor,
|
|
1701
|
-
}}
|
|
1702
|
-
>
|
|
1703
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].paymentmethod == 'cod'
|
|
1704
|
-
? langdetect == 'en'
|
|
1705
|
-
? 'Cash On Delivery'
|
|
1706
|
-
: 'الدفع عند الإستلام'
|
|
1707
|
-
: langdetect == 'en'
|
|
1708
|
-
? 'Online Payment'
|
|
1709
|
-
: 'دفع إلكترونى'}
|
|
1710
|
-
</span>
|
|
1711
|
-
</p>
|
|
1712
|
-
</div>
|
|
1713
|
-
<div className="col-lg-12 mb-2 d-flex align-items-center">
|
|
1714
|
-
<div className="row m-0 w-100 d-flex align-items-center">
|
|
1715
|
-
<div className="col-lg-6 p-0 d-flex align-items-center">
|
|
1716
|
-
<p
|
|
1717
|
-
className="m-0 p-0 font-weight-500 font-15"
|
|
1718
|
-
style={{
|
|
1719
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1720
|
-
}}
|
|
1721
|
-
>
|
|
1722
|
-
{langdetect == 'en' ? 'Sub Total' : 'المبلغ الجزئى'}:
|
|
1723
|
-
</p>
|
|
1724
|
-
</div>
|
|
1725
|
-
<div className="col-lg-6 p-0 d-flex align-items-center justify-content-end">
|
|
1726
|
-
<p
|
|
1727
|
-
className="m-0 p-0 font-weight-500 font-15"
|
|
1728
|
-
style={{
|
|
1729
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1730
|
-
}}
|
|
1731
|
-
>
|
|
1732
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderitemstotalprice}{' '}
|
|
1733
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1734
|
-
</p>
|
|
1735
|
-
</div>
|
|
1736
|
-
</div>
|
|
1737
|
-
</div>
|
|
1738
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].haspromocode == 1 && (
|
|
1739
|
-
<div className="col-lg-12 mb-2 d-flex align-items-center">
|
|
1740
|
-
<div className="row m-0 w-100 d-flex align-items-center">
|
|
1741
|
-
<div className="col-lg-6 p-0 d-flex align-items-center">
|
|
1742
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-danger">Promo Code Discount: </p>
|
|
1743
|
-
</div>
|
|
1744
|
-
<div className="col-lg-6 p-0 d-flex align-items-center justify-content-end">
|
|
1745
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-danger">
|
|
1746
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].discountprice}{' '}
|
|
1747
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1748
|
-
</p>
|
|
1749
|
-
</div>
|
|
1750
|
-
</div>
|
|
1751
|
-
</div>
|
|
1752
|
-
)}
|
|
1753
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].haspromocode == 1 && (
|
|
1754
|
-
<div className="col-lg-12 mb-2 d-flex align-items-center">
|
|
1755
|
-
<div className="row m-0 w-100 d-flex align-items-center">
|
|
1756
|
-
<div className="col-lg-6 p-0 d-flex align-items-center">
|
|
1757
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-danger">Sub Total After Discount: </p>
|
|
1758
|
-
</div>
|
|
1759
|
-
<div className="col-lg-6 p-0 d-flex align-items-center justify-content-end">
|
|
1760
|
-
<p className="m-0 p-0 font-weight-500 font-15 text-danger">
|
|
1761
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].priceafterdiscount} EGP
|
|
1762
|
-
</p>
|
|
1763
|
-
</div>
|
|
1764
|
-
</div>
|
|
1765
|
-
</div>
|
|
1766
|
-
)}
|
|
1767
|
-
<div className="col-lg-12 mb-2 d-flex align-items-center">
|
|
1768
|
-
<div className="row m-0 w-100 d-flex align-items-center">
|
|
1769
|
-
<div className="col-lg-6 p-0 d-flex align-items-center">
|
|
1770
|
-
<p
|
|
1771
|
-
className="m-0 p-0 font-weight-500 font-15"
|
|
1772
|
-
style={{
|
|
1773
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1774
|
-
}}
|
|
1775
|
-
>
|
|
1776
|
-
{langdetect == 'en' ? 'Shipping Fees' : 'مصاريف الشحن'}:{' '}
|
|
1777
|
-
</p>
|
|
1778
|
-
</div>
|
|
1779
|
-
<div className="col-lg-6 p-0 d-flex align-items-center justify-content-end">
|
|
1780
|
-
<p
|
|
1781
|
-
className="m-0 p-0 font-weight-500 font-15"
|
|
1782
|
-
style={{
|
|
1783
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1784
|
-
}}
|
|
1785
|
-
>
|
|
1786
|
-
{langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].zoneprice}{' '}
|
|
1787
|
-
{langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
|
|
1788
|
-
</p>
|
|
1789
|
-
</div>
|
|
1790
|
-
</div>
|
|
1791
|
-
</div>
|
|
1792
|
-
<div className="col-lg-12 mb-2 d-flex align-items-center">
|
|
1793
|
-
<div className="row m-0 w-100 d-flex align-items-center">
|
|
1794
|
-
<div className="col-lg-6 p-0 d-flex align-items-center">
|
|
1795
|
-
<p
|
|
1796
|
-
className="m-0 p-0 font-weight-500 font-15"
|
|
1797
|
-
style={{
|
|
1798
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1799
|
-
}}
|
|
1800
|
-
>
|
|
1801
|
-
{langdetect == 'en' ? 'Total' : 'الإجمالى'}:{' '}
|
|
1802
|
-
</p>
|
|
1803
|
-
</div>
|
|
1804
|
-
<div className="col-lg-6 p-0 d-flex align-items-center justify-content-end">
|
|
1805
|
-
<p
|
|
1806
|
-
className="m-0 p-0 font-weight-500 font-15"
|
|
1807
|
-
style={{
|
|
1808
|
-
color: fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.primarycolor,
|
|
1809
|
-
}}
|
|
1810
|
-
>
|
|
1811
|
-
{fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice} EGP{' '}
|
|
1812
|
-
</p>
|
|
1813
|
-
</div>
|
|
1814
|
-
</div>
|
|
1815
|
-
</div>
|
|
1816
|
-
</div>
|
|
1817
|
-
</div>
|
|
1818
|
-
</div>
|
|
1819
|
-
</div>
|
|
1820
|
-
</div>
|
|
1821
|
-
</Modal.Body>
|
|
1822
|
-
</Modal>
|
|
1823
|
-
)} */}
|
|
1824
|
-
</div>
|
|
1825
|
-
</div>
|
|
1826
|
-
)}
|
|
1827
|
-
</div>
|
|
1828
|
-
</div>
|
|
1829
|
-
);
|
|
1830
|
-
};
|
|
1831
|
-
export default Ordershistory;
|