import{_ as m}from"./MainLayout.vue_vue_type_script_setup_true_lang-BnRI7JXG.js";import{d as _,c as a,o as r,b as e,t,h as p,a as n,j as c,f as i,u as d,P as l}from"./app-DJb_CRLj.js";import"./simplebar.min-CZ5saGqI.js";import"./debounce-CDPmhVE8.js";/* empty css                             *//* empty css                          *//* empty css            */import"./useToastify-DqLaHt3f.js";import"./AdminNavigation.vue_vue_type_script_setup_true_lang-BfIfENbj.js";import"./useHexToRgb-Crf73LpK.js";import"./useRandomStr-7r5tQ8Eq.js";const u={class:"container"},f={class:"card shadow-1 mb-3"},h={class:"card-body pt-5 pb-5"},b={class:"row"},g={class:"col-12 d-flex align-items-center justify-content-center mb-4"},y={class:"lts-05 order-successful-message text-success fw-bold text-center"},v={class:"col-12 d-flex align-items-center justify-content-center flex-column mb-5"},k={class:"mb-2"},w={class:"text-gray me-1"},j={class:"fw-bold text-dark"},x={class:"mb-2"},$={class:"text-gray me-1"},N={class:"fw-bold text-dark"},V={key:0},B={class:"text-gray me-1"},C={class:"fw-bold text-dark"},P={class:"col-12 d-flex align-items-center justify-content-center mb-4"},K=_({layout:m,__name:"PaymentSuccessful",props:{order:{},prefactor:{}},setup(S){return(s,o)=>(r(),a("div",u,[e("div",f,[e("div",h,[e("div",b,[o[0]||(o[0]=e("div",{class:"col-12 d-flex align-items-center justify-content-center mb-4 mt-4"},[e("div",{class:"bg-success semi-transparent-circle d-flex align-items-center justify-content-center br-circle"},[e("i",{class:"ri-check-double-line fs-1"})])],-1)),e("div",g,[e("div",y,t(s.$t("messages.sentence.order_paid_and_in_proccess_queue")),1)]),e("div",v,[e("span",k,[e("span",w,t(s.$t("messages.word.date"))+":",1),e("span",j,t(s.order.jalali_created_at[1]),1)]),e("span",x,[e("span",$,t(s.$t("messages.sentence.order_uuid"))+":",1),e("span",N,t(s.order.uuid),1)]),s.prefactor!=null?(r(),a("span",V,[e("span",B,t(s.$t("messages.sentence.factor_id"))+":",1),e("span",C,t(s.prefactor),1)])):p("",!0)]),e("div",P,[n(d(l),{href:s.route("user.orders.index",{search:s.order.uuid}),class:"link me-4"},{default:c(()=>[i(t(s.$t("messages.sentence.order_details")),1)]),_:1},8,["href"]),n(d(l),{href:s.route("main.products.index"),class:"link"},{default:c(()=>[i(t(s.$t("messages.sentence.product_archive")),1)]),_:1},8,["href"])])])])])]))}});export{K as default};
