"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderDetailHeader = void 0;
var React = require("react");
var moment = require("moment");
var OrderDetailHeader = function (_a) {
    var order = _a.order;
    var date = moment(order.orderedDate).format("DD.MM.YYYY HH:MM");
    return (React.createElement("div", { className: "row", style: { paddingBottom: "24px" } },
        React.createElement("div", { className: "col", style: { minWidth: '250px' } },
            React.createElement("ul", { className: "order__detail__header" },
                React.createElement("li", null,
                    React.createElement("b", null, "Zp\u016Fsob dopravy: "),
                    order.deliveryType),
                React.createElement("li", null,
                    React.createElement("b", null, "Stav objedn\u00E1vky: "),
                    order.orderState),
                React.createElement("li", null,
                    React.createElement("b", null, "Zp\u016Fsob platby: "),
                    order.paymentType),
                React.createElement("li", null,
                    React.createElement("b", null, "Stav platby: "),
                    order.paymentState))),
        React.createElement("div", { className: "d-flex align-items-end flex-column", style: { paddingRight: '15px' } },
            React.createElement("div", { className: "mt-auto" },
                React.createElement("b", null, "Objedn\u00E1no dne: "),
                date))));
};
exports.OrderDetailHeader = OrderDetailHeader;
//# sourceMappingURL=OrderDetailHeader.js.map