+ {props.name} |
+ {props.location} |
+ {props.startDateTime} ~ {props.endDateTime} |
+ {props.reservatorName} ({props.reservatorPhone}) |
+
+
+
+ {props.status}
+
+ |
+
+ {status === USING ? usingButton :
+ status === BOOKED ? bookingButton : cancelButton
+ }
+ |
+
+ )
+}
+
+export default CarBookingManageCell;
diff --git a/src/pages/admin/resource/ResourceManage.js b/src/pages/admin/resource/ResourceManage.js
index 5ec13fb..b96f527 100644
--- a/src/pages/admin/resource/ResourceManage.js
+++ b/src/pages/admin/resource/ResourceManage.js
@@ -49,8 +49,9 @@ function ResourceManage(props) {