mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-22 06:28:19 +02:00
Merge pull request #135 from R0m1k3/1.1
Make "Not specified" fields clickable to open editing modals
This commit is contained in:
1 file changed
+35
-5
@@ -685,7 +685,13 @@ export default function BLReconciliation() {
|
|||||||
: 'text-gray-900'
|
: 'text-gray-900'
|
||||||
}`}>
|
}`}>
|
||||||
{delivery.blNumber || (
|
{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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -698,7 +704,13 @@ export default function BLReconciliation() {
|
|||||||
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
||||||
{delivery.blAmount ?
|
{delivery.blAmount ?
|
||||||
`${parseFloat(delivery.blAmount).toFixed(2)}€` :
|
`${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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -735,7 +747,13 @@ export default function BLReconciliation() {
|
|||||||
|
|
||||||
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
||||||
{delivery.invoiceReference || (
|
{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>
|
||||||
</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'}`}>
|
<div className={`text-sm ${delivery.reconciled !== true ? 'font-medium text-gray-900' : 'text-gray-600'}`}>
|
||||||
{delivery.invoiceAmount ?
|
{delivery.invoiceAmount ?
|
||||||
`${parseFloat(delivery.invoiceAmount).toFixed(2)}€` :
|
`${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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -949,7 +973,13 @@ export default function BLReconciliation() {
|
|||||||
<td className="px-3 py-2 text-sm">
|
<td className="px-3 py-2 text-sm">
|
||||||
<div className="text-gray-900">
|
<div className="text-gray-900">
|
||||||
{delivery.blNumber || (
|
{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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in new issue
Block a user