EnquiryDetailModal.js
5.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import React, { Fragment } from "react";
import { FaAngleLeft } from "react-icons/fa";
const EnquiryDetailModal = ({ data, setdetailsModal }) => {
return (
<div>
<Fragment>
<div className="vendorDetails">
<div className="row">
<div className="col-12 col-lg-12">
<div className="d-flex align-items-center justify-content-between">
<div className="backDiv">
<span className="backArrow">
<FaAngleLeft
onClick={() => {
setdetailsModal(false);
}}
/>
</span>
<span>Vendors List</span>
</div>
</div>
</div>
<div className="col-8 col-lg-8 mt-4">
{/* <h4>End user</h4> */}
<div className="row">
<div className="col-12 col-lg-5">
<p className="phead">User details</p>
{/* <div className="row">
<p className="col-12 col-lg-6">Business PAN No.</p>
<p className="col-12 col-lg-6">{detail[0].attributes.pan}</p>
</div> */}
{/* <div className="row">
<p className="col-12 col-lg-6">PAN</p>
<p className="col-12 col-lg-6 pview">View</p>
</div> */}
<div className="row">
<p className="col-12 col-lg-6">Name</p>
<p className="col-12 col-lg-6">{data.endUser.data.attributes.name}</p>
</div>
{/* <div className="row">
<p className="col-12 col-lg-6">GST Certificate</p>
<p className="col-12 col-lg-6 pview">View</p>
</div> */}
<div className="row">
<p className="col-12 col-lg-6">Email</p>
<p className="col-12 col-lg-6">{data.endUser.data.attributes.email}</p>
</div>
<div className="row">
<p className="col-12 col-lg-6">Phone</p>
<p className="col-12 col-lg-6">{data.endUser.data.attributes.phone}</p>
</div>
{/* <div className="row">
<p className="col-12 col-lg-6">Vendor website:</p>
<p className="col-12 col-lg-6">{detail[0].attributes.businessName}</p>
</div> */}
</div>
<div className="col-12 col-lg-7 borderLeft">
<p className="phead">Activity</p>
<div className="row">
<p className="col-12 col-lg-4">Activity Name</p>
<p className="col-12 col-lg-8">{data.experience.data.attributes.name}</p>
</div>
<div className="row">
<p className="col-12 col-lg-4">Link</p>
<p className="col-12 col-lg-8">
<a href={data.experience.data.attributes.link} target="_blank">
{data.experience.data.attributes.link}
</a>
</p>
</div>
<div className="row">
<p className="col-12 col-lg-4">Activity Name</p>
<p className="col-12 col-lg-8">{data.experience.data.attributes.name}</p>
</div>
<div className="row">
<p className="col-12 col-lg-4">Country</p>
<p className="col-12 col-lg-8">United States</p>
</div>
</div>
<div className="col-12 col-lg-7 borderLeft">
<p className="phead">Vendor Details</p>
<div className="row">
<p className="col-12 col-lg-4">Vendor Name</p>
<p className="col-12 col-lg-8">{data.vendor.data.attributes.name}</p>
</div>
{/* <div className="row">
<p className="col-12 col-lg-4">Link</p>
<p className="col-12 col-lg-8">
<a href={data.experience.data.attributes.link} target="_blank">
{data.experience.data.attributes.link}
</a>
</p>
</div> */}
<div className="row">
<p className="col-12 col-lg-4">Vendor email</p>
<p className="col-12 col-lg-8">{data.vendor.data.attributes.email}</p>
</div>
<div className="row">
<p className="col-12 col-lg-4">Vendor Phone</p>
<p className="col-12 col-lg-8">{data.vendor.data.attributes.phone}</p>
</div>
</div>
</div>
</div>
</div>
</div>
{/* {showActivityDetailsModal && <ActivityDetailsModal show={showActivityDetailsModal} handleClose={handleCloseActivityDetails} activityDetailInfo={activityDetailInfo} />}
{showRejectModal && <RejectModal show={showRejectModal} handleClose={handleCloseRejectModal} detail={detail} setShowDetail={setShowDetail} />} */}
</Fragment>
</div>
);
};
export default EnquiryDetailModal;