This commit is contained in:
Андрей Дувакин 2024-10-08 14:31:05 +05:00
parent 1840646987
commit c371101579
2 changed files with 16 additions and 1 deletions

View File

@ -6,7 +6,7 @@
} }
.content-container { .content-container {
max-width: 900px; max-width: 80%;
width: 100%; width: 100%;
text-align: left; text-align: left;
} }

View File

@ -223,6 +223,21 @@ const DeliveryOrderDetails = () => {
<button onClick={handleBack} className="btn btn-secondary mb-4"> <button onClick={handleBack} className="btn btn-secondary mb-4">
Назад Назад
</button> </button>
{totalOrder && (
<div className="order-info">
<h3>Информация о заказе</h3>
<p>
<strong>Дата заказа:</strong>{" "}
{new Date(totalOrder.order_datetime).toLocaleDateString(
"ru-RU"
)}
</p>
<p>
<strong>Количество роботов:</strong> {totalOrder.count_robots}{" "}
шт.
</p>
</div>
)}
<h2 style={{ textAlign: "center" }}>Общая информация</h2> <h2 style={{ textAlign: "center" }}>Общая информация</h2>
<table className="table table-bordered mb-5"> <table className="table table-bordered mb-5">