From bd6d1f2c39b987145bda6cabdd8c1c385648fb61 Mon Sep 17 00:00:00 2001 From: Kubosaka Date: Wed, 10 Jul 2024 21:29:45 +0900 Subject: [PATCH 1/5] =?UTF-8?q?[feat]=E8=B3=BC=E5=85=A5=E7=94=B3=E8=AB=8B?= =?UTF-8?q?=E3=83=A2=E3=83=BC=E3=83=80=E3=83=AB=E3=81=AE=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/purchaseorders/DetailModal.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/view/next-project/src/components/purchaseorders/DetailModal.tsx b/view/next-project/src/components/purchaseorders/DetailModal.tsx index b74d84b84..7826c30da 100644 --- a/view/next-project/src/components/purchaseorders/DetailModal.tsx +++ b/view/next-project/src/components/purchaseorders/DetailModal.tsx @@ -207,14 +207,16 @@ const DetailModal: FC = (props) => {
- - - + {purchaseItem.url && ( + + + + )} Date: Wed, 10 Jul 2024 21:30:49 +0900 Subject: [PATCH 2/5] =?UTF-8?q?[feat]=E8=B3=BC=E5=85=A5=E5=A0=B1=E5=91=8A?= =?UTF-8?q?=E3=83=A2=E3=83=BC=E3=83=80=E3=83=AB=E3=81=AE=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/purchasereports/DetailModal.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/view/next-project/src/components/purchasereports/DetailModal.tsx b/view/next-project/src/components/purchasereports/DetailModal.tsx index d72bc80aa..946a0b051 100644 --- a/view/next-project/src/components/purchasereports/DetailModal.tsx +++ b/view/next-project/src/components/purchasereports/DetailModal.tsx @@ -182,14 +182,16 @@ const DetailModal: FC = (props) => {
- - - + {purchaseItem.url && ( + + + + )} Date: Wed, 10 Jul 2024 21:35:30 +0900 Subject: [PATCH 3/5] =?UTF-8?q?[feat]=E8=B3=BC=E5=85=A5=E7=94=B3=E8=AB=8B?= =?UTF-8?q?=E3=81=AE=E4=BD=9C=E6=88=90=E3=83=BB=E7=B7=A8=E9=9B=86=E3=81=A7?= =?UTF-8?q?url=E3=81=AE=E8=A1=A8=E7=A4=BA=E3=83=BB=E9=9D=9E=E8=A1=A8?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/purchaseorders/EditModal.tsx | 10 ++++++---- .../purchaseorders/PurchaseOrderAddModal.tsx | 20 ++++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/view/next-project/src/components/purchaseorders/EditModal.tsx b/view/next-project/src/components/purchaseorders/EditModal.tsx index 0af7c15c2..35fbd80df 100644 --- a/view/next-project/src/components/purchaseorders/EditModal.tsx +++ b/view/next-project/src/components/purchaseorders/EditModal.tsx @@ -166,16 +166,18 @@ export default function EditModal(props: ModalProps) { {formDataList.map((data) => ( - + {data.item} {data.price} {data.quantity} {data.detail}
- - - + {data.url && ( + + + + )}
-
- - - +
+ {purchaseItem.url && ( + + + + )} Date: Wed, 10 Jul 2024 21:51:42 +0900 Subject: [PATCH 4/5] =?UTF-8?q?[feat]=E8=B3=BC=E5=85=A5=E5=A0=B1=E5=91=8A?= =?UTF-8?q?=E7=99=BB=E9=8C=B2=E6=99=82=E3=81=AE=E7=A2=BA=E8=AA=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchaseReportConfirmModal.tsx | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx b/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx index dfb5f02d2..8331acdc7 100644 --- a/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx +++ b/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx @@ -96,15 +96,17 @@ export default function PurchaseItemNumModal(props: ModalProps) { )} >
-
- - - +
+ {purchaseItem.url && ( + + + + )} Date: Fri, 12 Jul 2024 13:34:21 +0900 Subject: [PATCH 5/5] =?UTF-8?q?[fix]=E3=82=B3=E3=83=94=E3=83=BC=E3=83=9C?= =?UTF-8?q?=E3=82=BF=E3=83=B3=E3=82=82=E9=9D=9E=E8=A1=A8=E7=A4=BA=E3=81=AB?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/purchaseorders/DetailModal.tsx | 26 +++++++++--------- .../components/purchaseorders/EditModal.tsx | 27 ++++++++++--------- .../purchaseorders/PurchaseOrderAddModal.tsx | 26 +++++++++--------- .../purchasereports/DetailModal.tsx | 26 +++++++++--------- .../PurchaseReportConfirmModal.tsx | 26 +++++++++--------- 5 files changed, 66 insertions(+), 65 deletions(-) diff --git a/view/next-project/src/components/purchaseorders/DetailModal.tsx b/view/next-project/src/components/purchaseorders/DetailModal.tsx index 7826c30da..8e62464bc 100644 --- a/view/next-project/src/components/purchaseorders/DetailModal.tsx +++ b/view/next-project/src/components/purchaseorders/DetailModal.tsx @@ -206,8 +206,8 @@ const DetailModal: FC = (props) => {
-
- {purchaseItem.url && ( + {purchaseItem.url && ( +
= (props) => { > - )} - - { - navigator.clipboard.writeText(purchaseItem.url); - }} - /> - -
+ + { + navigator.clipboard.writeText(purchaseItem.url); + }} + /> + +
+ )}
{user.roleID === 3 ? ( diff --git a/view/next-project/src/components/purchaseorders/EditModal.tsx b/view/next-project/src/components/purchaseorders/EditModal.tsx index 35fbd80df..8c54a0d4d 100644 --- a/view/next-project/src/components/purchaseorders/EditModal.tsx +++ b/view/next-project/src/components/purchaseorders/EditModal.tsx @@ -172,22 +172,23 @@ export default function EditModal(props: ModalProps) { {data.quantity} {data.detail} -
- {data.url && ( + {data.url && ( +
- )} - - { - navigator.clipboard.writeText(data.url); - }} - /> - -
+ + + { + navigator.clipboard.writeText(data.url); + }} + /> + +
+ )} ))} diff --git a/view/next-project/src/components/purchaseorders/PurchaseOrderAddModal.tsx b/view/next-project/src/components/purchaseorders/PurchaseOrderAddModal.tsx index 1bab8c232..2cccd5908 100644 --- a/view/next-project/src/components/purchaseorders/PurchaseOrderAddModal.tsx +++ b/view/next-project/src/components/purchaseorders/PurchaseOrderAddModal.tsx @@ -209,8 +209,8 @@ export default function AddModal(props: ModalProps) { )} >
-
- {purchaseItem.url && ( + {purchaseItem.url && ( +
- )} - - { - navigator.clipboard.writeText(purchaseItem.url); - }} - /> - -
+ + { + navigator.clipboard.writeText(purchaseItem.url); + }} + /> + +
+ )}
diff --git a/view/next-project/src/components/purchasereports/DetailModal.tsx b/view/next-project/src/components/purchasereports/DetailModal.tsx index 946a0b051..a53d5a575 100644 --- a/view/next-project/src/components/purchasereports/DetailModal.tsx +++ b/view/next-project/src/components/purchasereports/DetailModal.tsx @@ -181,8 +181,8 @@ const DetailModal: FC = (props) => {
-
- {purchaseItem.url && ( + {purchaseItem.url && ( +
= (props) => { > - )} - - { - navigator.clipboard.writeText(purchaseItem.url); - }} - /> - -
+ + { + navigator.clipboard.writeText(purchaseItem.url); + }} + /> + +
+ )}
diff --git a/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx b/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx index 8331acdc7..17e5cd539 100644 --- a/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx +++ b/view/next-project/src/components/purchasereports/PurchaseReportConfirmModal.tsx @@ -96,8 +96,8 @@ export default function PurchaseItemNumModal(props: ModalProps) { )} >
-
- {purchaseItem.url && ( + {purchaseItem.url && ( +
- )} - - { - navigator.clipboard.writeText(purchaseItem.url); - }} - /> - -
+ + { + navigator.clipboard.writeText(purchaseItem.url); + }} + /> + +
+ )}