Nice to meet you! Please enter your details.
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tAlready have an account?\n\t\t\t\t\t\t\t\t\t\t\t Sign in \n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{langs.shoar}
\n\t\t\t\t\t\t{langs.sb1}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.sb2}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.sb3}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.welcomeNotic}
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(again == 0)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcodeAgain();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}} className=\"font-13\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tagain > 0 ? <>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {toHHMMSS(again)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t> : <>{langs.sendAgain}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{langs.welcomeNotic}
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{langs.registerNotic}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{orderModal.product.title}
\n\t\t\t\t\t\t{langs.welcome}
\n\t\t\t\t\t\t\t{langs.order} {price.label}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ parseFloat(price.price).toFixed(3) } \n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{langs.order} {price.label}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ parseFloat(price.price).toFixed(3) } \n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{orderModal.product.title}
\n\t\t\t\t\t\t{langs.order} {price.label}
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ parseInt(price.price).toLocaleString() } \n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t product.body.split('\\n').map(function( item, idx) {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t {item}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t
{langs.order} {price.label}
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ parseInt(price.price).toLocaleString() } \n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{orderModal.product.title}
\n\t\t\t\t\t\tALL
\n\t\t\t\t\t\t\t{category.title}
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.order} {price.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ parseInt(price.price).toLocaleString() } \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{orderModal.product.title}
\n\t\t\t\t\t\t{langs.createProductNotic}
\n{langs._id} | \n{langs.product} | \n{langs.price} | \n{langs.status} | \n{langs.created_at} | \n\n | \n | \n |
---|---|---|---|---|---|---|---|
\n {product._id} \n | \n \n \n\t\t\t\t\t\t\t{product?.media?.length > 0 ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t \n \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n \n \n {product.title}\n{product.category[0].title} \n\n\t\t\t\t\t\t\t\t\t{product?.user?.information?.name}\n\t\t\t\t\t\t\t\t\t({product?.user?.information?.nick_name})\n\t\t\t\t\t\t\t\t \n | \n \n\t\t\t\t\t\t\t{product?.price?.length > 0 ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t {product.price[0].label} \n\t\t\t\t\t\t\t\t\t{product.price[0].price} \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n\n | \n \n {product?.status?.label}\n | \n\n {product.created_time}\n | \n\n \n \n \n | \n\n { deleteRecord(product.id) }} className=\"text-secondary font-weight-bold text-xs\" data-bs-toggle=\"tooltip\" data-bs-title=\"Edit user\">\n \n \n | \n\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{product.price.map((price, index) => (\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n \n\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{langs.order} {price.label} \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ parseFloat(price.price).toFixed(3) } \n\t\t\t\t\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t | \n\n
{langs.page} {products.from} {langs.of} {products.total}
\n{langs.createUsersNotic}
\n{langs.information} | \n{langs.name} | \n{langs.status} | \n\t\t\t\t\t\t { user.role == \"admin\" ? <>\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t > : <>> }\n | \n\n |
---|---|---|---|---|
\n \n\n\t\t\t\t\t\t\t{user.information ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n {user.information.nick_name} \n\t\t\t\t\t\t\t\t\t{user.information.name} \n\t\t\t\t\t\t\t\t\t{user.information.id_card} \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{langs.support}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n\n | \n \n \n\t\t\t\t\t\t\t{user?.media?.length > 0 ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t \n \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n \n \n {user.username} \n\t\t\t\t\t\t\t\t{user?.role}\n\t\t\t\t\t\t\t\t\n{user.name} \n | \n \n {user?.status?.label}\n | \n\n \n \n \n | \n \t\t\t\t\t\t { user.role == \"admin\" ? <>\n\n\n { deleteRecord(user.id) }} className=\"text-secondary font-weight-bold text-xs\" data-bs-toggle=\"tooltip\" data-bs-title=\"Edit user\">\n \n \n | \n\t\t\t\t\t\t > : <>> }\n\n
{langs.page} {users.from} {langs.of} {users.total}
\n{langs.updateUserNotic}
\n \t\t\t\t{langs.ordersNotic}
\n\n\t\t\t\t\t\t> : <>> }\n | {langs._id} | \n{langs.product} | \n\t\t\t\t\t\t{ window.location.pathname != \"/orders\" ?\n\n <>{langs.firstName} {langs.lastName} | >\n\t\t\t\t\t\t\t: <>>\n\t\t\t\t\t\t}\n{langs.price} | \n <>{langs.report_order} | >\n <>{langs.reserveTime} | >\n <>{langs.rentDuration} | >\n\n{langs.status} | \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t//{langs.time} | \n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t{ window.location.pathname != \"/orders\" ? <>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t> : <>> }\n |
---|---|---|---|---|---|---|---|---|---|---|
\n \n \n \n | \n\t\t\t\t\t\t >\n\t\t\t\t\t\t : <>>\n\n\t\t\t\t\t\t }\n\n {order.id} \n | \n \n \n\t\t\t\t\t\t\t{order?.product?.media?.length > 0 ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t \n \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n \n \n {order?.product?.title}\n{order?.product?.category[0].title} \n\n\t\t\t\t\t\t\t\t\t{order?.product?.user?.information?.name}\n\t\t\t\t\t\t\t\t\t({order?.product?.user?.information?.nick_name})\n\t\t\t\t\t\t\t\t \n | \n\t\t\t\t\t\t{ window.location.pathname != \"/orders\" ? <>\n \n \n\n\t\t\t\t\t\t\t{order?.user?.information ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n\n {order?.user.information.nick_name} \n\t\t\t\t\t\t\t\t\t{order?.user.information.name} \n\t\t\t\t\t\t\t\t\t{order?.user.information.id_card} \n\t\t\t\t\t\t\t\t\t{ user.role == \"admin\" ? <>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{langs.customerSupport}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t> : <>> }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n\n | \n\t\t\t\t\t\t> : <>> }\n\n \n\t\t\t\t\t\t\t{order.product?.price?.length > 0 ? \n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tparseFloat(order?.order_price)?.toFixed(3)\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t(order?.product?.user) && (\n\t\t\t\t\t\t\t\t\t\t\tuser.role == \"admin\" || user.role == \"operator\"\n\t\t\t\t\t\t\t\t\t\t) && order?.price?.id\n\t\t\t\t\t\t\t\t\t? <>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t {langs.provider}: \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tparseFloat(\n\t\t\t\t\t\t\t\t\t\t\t\t( order?.order_price * order?.product?.user[`${order?.price?.type}_percent`] ) / 100\n\t\t\t\t\t\t\t\t\t\t\t)?.toFixed(3)\n\t\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t {langs.admin}: \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tparseFloat(\n\t\t\t\t\t\t\t\t\t\t\t\t( order?.order_price * ( 100 - order?.product?.user[`${order?.price?.type}_percent`] ) ) / 100\n\t\t\t\t\t\t\t\t\t\t\t)?.toFixed(3)\n\t\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t> : <>>}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: null} \n\n | \n \n \n\t\t\t\t\t\t\t {langs[order.place]} \n\t\t\t\t\t\t\t{order.details}\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tparseFloat(\n\t\t\t\t\t\t\t\t\t\tMath.round(\n\t\t\t\t\t\t\t\t\t\tcalPrice(new Date(order?.finished_at), new Date(order?.accepted_at), order?.order_price)\n\t\t\t\t\t\t\t\t\t\t)).toFixed(3)\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t{langs.symbol} \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: <>->\n\t\t\t\t\t\t*/}\n | \n\n\t\t\t\t\t\t \n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t ( order?.created_time ) ?\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{ order.created_time }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: <>->\n\t\t\t\t\t\t }\n\t\t\t\t\t\t | \n\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t ( order?.status?.name == \"finish\" || order?.status?.name == \"payed\" ) ?\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\t\t//fromTo(new Date(order?.finished_at), new Date(order?.accepted_at)) \n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t: <>>\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t }\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t{ order.from }\n\t\t\t\t\t\t | \n\n \n {order?.status?.label}\n | \n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t /*\n\n {order.updated_time}\n | \n\t\t\t\t\t\t */\n\t\t\t\t\t\t }\n \t \t\t\t\t\t{ window.location.pathname != \"/orders\" ?\n\t\t\t\t\t\t\t<>\t\t\t\t\t\n\n \n \n \n\t\t\t\t\t\t\t\n {\n\t\t\t\t\t\t\t\tvar amount = prompt(langs.price, order.order_price);\n\t\t\t\t\t\t\t\tif(amount && Number(amount) != Number(order.order_price) ){\n\t\t\t\t\t\t\t\t\thttp.post(`/orders/${order.id}/edit/price`, { price: Number(amount) }).then(response => {\n\t\t\t\t\t\t\t\t\t\tif (response.data) {\n\t\t\t\t\t\t\t\t\t\t\ttoast.success(response.data.message);\n\t\t\t\t\t\t\t\t\t\t\tget();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\t\t\t\t\ttoast.error(err.message);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\n \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thttp.post(`/orders/${order.id}/changeStatus`, { status_id: -1 }).then(response => {\n\t\t\t\t\t\t\t\t\t\tif (response.data) {\n\t\t\t\t\t\t\t\t\t\t\ttoast.success(response.data.message);\n\t\t\t\t\t\t\t\t\t\t\tget();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\t\t\t\t\ttoast.error(err.message);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{ order.status_id == 15 ? <>> : <>\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thttp.post(`/orders/${order.id}/changeStatus`, { status_id: 15 }).then(response => {\n\t\t\t\t\t\t\t\t\t\tif (response.data) {\n\t\t\t\t\t\t\t\t\t\t\ttoast.success(response.data.message);\n\t\t\t\t\t\t\t\t\t\t\tget();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\t\t\t\t\ttoast.error(err.message);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t> }\n\n\t\t\t\t\t\t\t{ order.status_id == 13 ? <>> : <>\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thttp.post(`/orders/${order.id}/changeStatus`, { status_id: 13 }).then(response => {\n\t\t\t\t\t\t\t\t\t\tif (response.data) {\n\t\t\t\t\t\t\t\t\t\t\ttoast.success(response.data.message);\n\t\t\t\t\t\t\t\t\t\t\tget();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\t\t\t\t\ttoast.error(err.message);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t> }\n\n | \n\t\t\t\t\t\t >\n\t\t\t\t\t\t : <>>\n\n\t\t\t\t\t\t }\n
{langs.page} {option.page}
\n