build
This commit is contained in:
parent
d80248e725
commit
d9178da8cb
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"files": {
|
||||
"main.css": "/static/css/main.bec8b9f7.css",
|
||||
"main.js": "/static/js/main.4ced58a9.js",
|
||||
"main.js": "/static/js/main.f4b132d9.js",
|
||||
"static/media/logo-transp.svg": "/static/media/logo-transp.a903424d2393e17072667328738f6631.svg",
|
||||
"static/media/logo-bg.jpg": "/static/media/logo-bg.1d55df78b7376108f96c.jpg",
|
||||
"static/media/credit-card.jpg": "/static/media/credit-card.ff2990f7d50439a8f34d.jpg",
|
||||
|
|
@ -53,8 +53,8 @@
|
|||
"static/media/arrow-circle-right.svg": "/static/media/arrow-circle-right.aeb8af24d4566d7bee70783e15c04c18.svg",
|
||||
"static/media/next-reverse.svg": "/static/media/next-reverse.01b76f99093901b5ca0e6cadbe9b334b.svg",
|
||||
"static/media/next.svg": "/static/media/next.c5d0814e63d8a16171e959fc3c541ff0.svg",
|
||||
"static/media/loader.svg": "/static/media/loader.c1d5ba1f67cc967b86d796282b98942d.svg",
|
||||
"index.html": "/index.html",
|
||||
"static/media/loader.svg": "/static/media/loader.c1d5ba1f67cc967b86d796282b98942d.svg",
|
||||
"static/media/close.svg": "/static/media/close.529361d55807e3a67b716cb14b0e62b5.svg",
|
||||
"static/media/user-square.svg": "/static/media/user-square.d8e480e0d0a30f34f74130c8c706f68a.svg",
|
||||
"static/media/arrow-back.svg": "/static/media/arrow-back.7106eb7539d85d1dc7288726f85efeba.svg",
|
||||
|
|
@ -68,10 +68,10 @@
|
|||
"static/media/arrow-down.svg": "/static/media/arrow-down.2ec2ec0ddf677f60c1aa23e6d1abdc8d.svg",
|
||||
"static/media/arrow.svg": "/static/media/arrow.c8492a68102634ab2875008b3e67164c.svg",
|
||||
"main.bec8b9f7.css.map": "/static/css/main.bec8b9f7.css.map",
|
||||
"main.4ced58a9.js.map": "/static/js/main.4ced58a9.js.map"
|
||||
"main.f4b132d9.js.map": "/static/js/main.f4b132d9.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.bec8b9f7.css",
|
||||
"static/js/main.4ced58a9.js"
|
||||
"static/js/main.f4b132d9.js"
|
||||
]
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>HalkBank</title><script defer="defer" src="/static/js/main.4ced58a9.js"></script><link href="/static/css/main.bec8b9f7.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>HalkBank</title><script defer="defer" src="/static/js/main.f4b132d9.js"></script><link href="/static/css/main.bec8b9f7.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -3,7 +3,10 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
|
|
|
|||
|
|
@ -2,10 +2,9 @@ import axios from "axios";
|
|||
// import { getDate } from "../helpers/Date";
|
||||
|
||||
export const sendRequestCard = (url, token, data, setLoader, setError) => {
|
||||
console.log(url);
|
||||
let today = new Date();
|
||||
let dd = String(today.getDate()).padStart(2, "0");
|
||||
let mm = String(today.getMonth() + 1).padStart(2, "0"); //January is 0!
|
||||
let mm = String(today.getMonth() + 1).padStart(2, "0");
|
||||
let yyyy = today.getFullYear();
|
||||
const form = new FormData();
|
||||
data.file.map((el) => {
|
||||
|
|
@ -29,6 +28,8 @@ export const sendRequestCard = (url, token, data, setLoader, setError) => {
|
|||
form.append("the_codeword", data.the_codeword);
|
||||
form.append("sms_notification", data.sms_notification);
|
||||
form.append("date", `${dd}.${mm}.${yyyy}`);
|
||||
|
||||
form.append("price", data.price);
|
||||
axios
|
||||
.post(`${url}?token=${token}`, form)
|
||||
.then((res) => {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import next from "../../icons/next.svg";
|
|||
|
||||
const CardStage1 = ({ setStage, data, setData, cardData }) => {
|
||||
const { locale } = useContext(LanguageContext);
|
||||
// const [price, setPrice] = useState(0);
|
||||
const [inputValid, setInputValid] = useState(
|
||||
data.selected_card ? data.selected_card : false
|
||||
);
|
||||
|
|
@ -26,6 +27,7 @@ const CardStage1 = ({ setStage, data, setData, cardData }) => {
|
|||
)
|
||||
) {
|
||||
setId(el.id);
|
||||
// setPrice(el.card_cost);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -152,6 +154,7 @@ const CardStage1 = ({ setStage, data, setData, cardData }) => {
|
|||
onClick={() => {
|
||||
setStage(2);
|
||||
setData({ ...data, selected_card: inputValid });
|
||||
setData({ ...data, price: id });
|
||||
}}
|
||||
>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue