This commit is contained in:
@@ -42,7 +42,7 @@ const CreateEventRequest = () => {
|
|||||||
|
|
||||||
// Required fields validation
|
// Required fields validation
|
||||||
if (!currentCustomer || !currentCustomer.id) {
|
if (!currentCustomer || !currentCustomer.id) {
|
||||||
errors.push('Patient');
|
errors.push('Customer Name');
|
||||||
}
|
}
|
||||||
if (!currentResource || !currentResource.id) {
|
if (!currentResource || !currentResource.id) {
|
||||||
errors.push('Doctor');
|
errors.push('Doctor');
|
||||||
@@ -153,7 +153,7 @@ const CreateEventRequest = () => {
|
|||||||
<h6 className="text-primary">Patient And Doctor Info</h6>
|
<h6 className="text-primary">Patient And Doctor Info</h6>
|
||||||
<div className="app-main-content-fields-section">
|
<div className="app-main-content-fields-section">
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">Patient
|
<div className="field-label">Customer Name
|
||||||
<span className="required">*</span>
|
<span className="required">*</span>
|
||||||
</div>
|
</div>
|
||||||
<Select styles={{
|
<Select styles={{
|
||||||
@@ -207,7 +207,7 @@ const CreateEventRequest = () => {
|
|||||||
<h6 className="text-primary">Appointment Request Information</h6>
|
<h6 className="text-primary">Appointment Request Information</h6>
|
||||||
<div className="app-main-content-fields-section">
|
<div className="app-main-content-fields-section">
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">Source
|
<div className="field-label">Request By
|
||||||
<span className="required">*</span>
|
<span className="required">*</span>
|
||||||
</div>
|
</div>
|
||||||
<select value={source} onChange={e => setSource(e.target.value)}>
|
<select value={source} onChange={e => setSource(e.target.value)}>
|
||||||
@@ -216,7 +216,7 @@ const CreateEventRequest = () => {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">Type
|
<div className="field-label">Request Type
|
||||||
<span className="required">*</span>
|
<span className="required">*</span>
|
||||||
</div>
|
</div>
|
||||||
<select value={type} onChange={e => setType(e.target.value)}>
|
<select value={type} onChange={e => setType(e.target.value)}>
|
||||||
@@ -232,14 +232,14 @@ const CreateEventRequest = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="app-main-content-fields-section">
|
<div className="app-main-content-fields-section">
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">Symptom 和特殊要求
|
<div className="field-label">Request Note
|
||||||
</div>
|
</div>
|
||||||
<textarea value={symptom || ''} onChange={e => setSymptom(e.target.value)}/>
|
<textarea value={symptom || ''} onChange={e => setSymptom(e.target.value)}/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="app-main-content-fields-section">
|
<div className="app-main-content-fields-section">
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">Transportation
|
<div className="field-label">Transportation Support
|
||||||
</div>
|
</div>
|
||||||
<select value={transportation} onChange={e => setTransportation(e.target.value)}>
|
<select value={transportation} onChange={e => setTransportation(e.target.value)}>
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
@@ -252,7 +252,7 @@ const CreateEventRequest = () => {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">NP
|
<div className="field-label">New Patient
|
||||||
</div>
|
</div>
|
||||||
<select value={np} onChange={e => setNp(e.target.value)}>
|
<select value={np} onChange={e => setNp(e.target.value)}>
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const EventRequestList = () => {
|
|||||||
const [columns, setColumns] = useState([
|
const [columns, setColumns] = useState([
|
||||||
{
|
{
|
||||||
key: 'customer_display',
|
key: 'customer_display',
|
||||||
label:'Patient',
|
label:'Customer Name',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -28,32 +28,32 @@ const EventRequestList = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'source',
|
key: 'source',
|
||||||
label: 'Source',
|
label: 'Request By',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'type',
|
key: 'type',
|
||||||
label: 'Type',
|
label: 'Request Type',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'transportation',
|
key: 'transportation',
|
||||||
label: 'Transportation',
|
label: 'Transportation Support',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'symptom',
|
key: 'symptom',
|
||||||
label: 'Symptom Or Special Need',
|
label: 'Request Note',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'np',
|
key: 'np',
|
||||||
label: 'NP',
|
label: 'New Patient',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'upload',
|
key: 'upload',
|
||||||
label: 'Upload By',
|
label: 'Created by',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -533,7 +533,7 @@ const UpdateEvent = () => {
|
|||||||
<textarea value={reason || ''} onChange={e => setReason(e.target.value)}/>
|
<textarea value={reason || ''} onChange={e => setReason(e.target.value)}/>
|
||||||
</div>
|
</div>
|
||||||
<div className="me-4">
|
<div className="me-4">
|
||||||
<div className="field-label">Other Requirements
|
<div className="field-label">Requirement
|
||||||
</div>
|
</div>
|
||||||
<textarea value={otherRequirement || ''} onChange={e => setOtherRequirement(e.target.value)}/>
|
<textarea value={otherRequirement || ''} onChange={e => setOtherRequirement(e.target.value)}/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ const ViewEvent = () => {
|
|||||||
<div className="field-value">{currentEvent?.data?.notes || ''}</div>
|
<div className="field-value">{currentEvent?.data?.notes || ''}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="field-body">
|
<div className="field-body">
|
||||||
<div className="field-label">Other Requirements</div>
|
<div className="field-label">Requirement</div>
|
||||||
<div className="field-value">{currentEvent?.data?.other || ''}</div>
|
<div className="field-value">{currentEvent?.data?.other || ''}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user