mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Make "Not specified" fields clickable to open editing modals
Update the reconciliation screen to allow users to click on fields marked as "Non renseigné" to open an inline editing modal for that specific line item. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 78d55416-09d3-4c00-b411-444299b0da00 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/78d55416-09d3-4c00-b411-444299b0da00/LPhqV2Q
This commit is contained in:
1 parent
f299b49da3
commit
b172870ef9
1 file changed
+35
-5
@@ -685,7 +685,13 @@ export default function BLReconciliation() {
|
||||
: 'text-gray-900'
|
||||
}`}>
|
||||
{delivery.blNumber || (
|
||||
<span className="text-gray-400 italic text-xs">Non renseigné</span>
|
||||
<span
|
||||
className="text-gray-400 italic text-xs hover:text-blue-500 cursor-pointer hover:underline transition-colors"
|
||||
onClick={() => handleOpenModal(delivery)}
|
||||
title="Cliquer pour modifier"
|
||||
>
|
||||
Non renseigné
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</td>
|
||||
@@ -698,7 +704,13 @@ export default function BLReconciliation() {
|
||||
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
||||
{delivery.blAmount ?
|
||||
`${parseFloat(delivery.blAmount).toFixed(2)}€` :
|
||||
<span className="text-gray-400 italic">Non renseigné</span>
|
||||
<span
|
||||
className="text-gray-400 italic hover:text-blue-500 cursor-pointer hover:underline transition-colors"
|
||||
onClick={() => handleOpenModal(delivery)}
|
||||
title="Cliquer pour modifier"
|
||||
>
|
||||
Non renseigné
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
</td>
|
||||
@@ -735,7 +747,13 @@ export default function BLReconciliation() {
|
||||
|
||||
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
||||
{delivery.invoiceReference || (
|
||||
<span className="text-gray-400 italic">Non renseigné</span>
|
||||
<span
|
||||
className="text-gray-400 italic hover:text-blue-500 cursor-pointer hover:underline transition-colors"
|
||||
onClick={() => handleOpenModal(delivery)}
|
||||
title="Cliquer pour modifier"
|
||||
>
|
||||
Non renseigné
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
@@ -744,7 +762,13 @@ export default function BLReconciliation() {
|
||||
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
||||
{delivery.invoiceAmount ?
|
||||
`${parseFloat(delivery.invoiceAmount).toFixed(2)}€` :
|
||||
<span className="text-gray-400 italic">Non renseigné</span>
|
||||
<span
|
||||
className="text-gray-400 italic hover:text-blue-500 cursor-pointer hover:underline transition-colors"
|
||||
onClick={() => handleOpenModal(delivery)}
|
||||
title="Cliquer pour modifier"
|
||||
>
|
||||
Non renseigné
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
</td>
|
||||
@@ -949,7 +973,13 @@ export default function BLReconciliation() {
|
||||
<td className="px-3 py-2 text-sm">
|
||||
<div className="text-gray-900">
|
||||
{delivery.blNumber || (
|
||||
<span className="text-gray-400 italic text-xs">Non renseigné</span>
|
||||
<span
|
||||
className="text-gray-400 italic text-xs hover:text-blue-500 cursor-pointer hover:underline transition-colors"
|
||||
onClick={() => handleOpenModal(delivery)}
|
||||
title="Cliquer pour modifier"
|
||||
>
|
||||
Non renseigné
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in new issue
Block a user