fix(ui): widen 'Jedn. cena' column in invoice + issued-order line-item tables (5.5rem -> 8rem)
The editable unit-price number input was cramped (5.5rem, same as qty/unit); widened to 8rem to match the Celkem column and the read-only detail view, so real prices fit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -735,7 +735,7 @@ export default function InvoiceDetail() {
|
|||||||
bankAccountsQuery.isLoading,
|
bankAccountsQuery.isLoading,
|
||||||
bankAccountsQuery.data,
|
bankAccountsQuery.data,
|
||||||
customersQuery.isLoading,
|
customersQuery.isLoading,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Create mode: populate form from query data
|
// Create mode: populate form from query data
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -813,7 +813,7 @@ export default function InvoiceDetail() {
|
|||||||
orderDataQuery.data,
|
orderDataQuery.data,
|
||||||
companySettings,
|
companySettings,
|
||||||
bankAccounts,
|
bankAccounts,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Capture initial snapshot for dirty-checking once data sync completes.
|
// Capture initial snapshot for dirty-checking once data sync completes.
|
||||||
// Edit mode: captured inside the sync effect from raw query data.
|
// Edit mode: captured inside the sync effect from raw query data.
|
||||||
@@ -2113,7 +2113,7 @@ export default function InvoiceDetail() {
|
|||||||
<TableCell sx={{ width: "5.5rem" }} align="center">
|
<TableCell sx={{ width: "5.5rem" }} align="center">
|
||||||
Jednotka
|
Jednotka
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell sx={{ width: "5.5rem" }} align="center">
|
<TableCell sx={{ width: "8rem" }} align="center">
|
||||||
Jedn. cena
|
Jedn. cena
|
||||||
</TableCell>
|
</TableCell>
|
||||||
{form.apply_vat ? (
|
{form.apply_vat ? (
|
||||||
|
|||||||
@@ -1120,7 +1120,7 @@ export default function IssuedOrderDetail() {
|
|||||||
<TableCell sx={{ width: "5.5rem" }} align="center">
|
<TableCell sx={{ width: "5.5rem" }} align="center">
|
||||||
Jednotka
|
Jednotka
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell sx={{ width: "5.5rem" }} align="center">
|
<TableCell sx={{ width: "8rem" }} align="center">
|
||||||
Jedn. cena
|
Jedn. cena
|
||||||
</TableCell>
|
</TableCell>
|
||||||
{form.apply_vat ? (
|
{form.apply_vat ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user