Added receipt print out at end of payment processing BOD-93
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { CardElement } from "@stripe/react-stripe-js";
|
||||
import { Checkbox, Form, Input } from "antd";
|
||||
import { Checkbox, Form, Input, Radio } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
@@ -76,6 +76,17 @@ export function PaymentFormComponent({
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
label={t("general.labels.sendby")}
|
||||
name="sendby"
|
||||
initialValue="email"
|
||||
>
|
||||
<Radio.Group>
|
||||
<Radio.Button value="email">{t("general.labels.email")}</Radio.Button>
|
||||
<Radio.Button value="print">{t("general.labels.print")}</Radio.Button>
|
||||
</Radio.Group>
|
||||
</Form.Item>
|
||||
|
||||
{!!!bodyshop.stripe_acct_id ? (
|
||||
<div style={{ fontStyle: "italic" }}>{t("payments.labels.signup")}</div>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user