fix: resource table text overview.

This commit is contained in:
a.bouhuolia
2021-09-12 10:18:26 +02:00
parent d446300a71
commit 129b73c363
6 changed files with 27 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ export const useAccountsTableColumns = () => {
className: 'account_name',
width: 200,
clickable: true,
textOverview: true,
},
{
id: 'code',
@@ -73,6 +74,7 @@ export const useAccountsTableColumns = () => {
className: 'type',
width: 140,
clickable: true,
textOverview: true,
},
{
id: 'normal',

View File

@@ -156,6 +156,7 @@ export const useItemsTableColumns = () => {
className: 'name',
width: 180,
clickable: true,
textOverview: true,
},
{
id: 'code',
@@ -180,6 +181,7 @@ export const useItemsTableColumns = () => {
className: 'category',
width: 150,
clickable: true,
textOverview: true,
},
{
id: 'sell_price',

View File

@@ -160,6 +160,7 @@ export function useEstiamtesTableColumns() {
width: 140,
className: 'estimate_date',
clickable: true,
textOverview: true,
},
{
id: 'customer',
@@ -168,6 +169,7 @@ export function useEstiamtesTableColumns() {
width: 140,
className: 'customer_id',
clickable: true,
textOverview: true,
},
{
id: 'expiration_date',
@@ -177,6 +179,7 @@ export function useEstiamtesTableColumns() {
width: 140,
className: 'expiration_date',
clickable: true,
textOverview: true,
},
{
id: 'estimate_number',
@@ -186,6 +189,7 @@ export function useEstiamtesTableColumns() {
width: 140,
className: 'estimate_number',
clickable: true,
textOverview: true,
},
{
id: 'amount',
@@ -210,6 +214,7 @@ export function useEstiamtesTableColumns() {
width: 90,
className: 'reference',
clickable: true,
textOverview: true,
},
],
[],

View File

@@ -170,6 +170,7 @@ export function useInvoicesTableColumns() {
width: 110,
className: 'invoice_date',
clickable: true,
textOverview: true,
},
{
id: 'customer',
@@ -178,6 +179,7 @@ export function useInvoicesTableColumns() {
width: 180,
className: 'customer_id',
clickable: true,
textOverview: true,
},
{
@@ -187,6 +189,7 @@ export function useInvoicesTableColumns() {
width: 100,
className: 'invoice_no',
clickable: true,
textOverview: true,
},
{
id: 'amount',
@@ -195,6 +198,7 @@ export function useInvoicesTableColumns() {
width: 120,
className: 'balance',
clickable: true,
textOverview: true,
},
{
id: 'status',
@@ -211,6 +215,7 @@ export function useInvoicesTableColumns() {
width: 110,
className: 'due_date',
clickable: true,
textOverview: true,
},
{
id: 'reference_no',
@@ -219,6 +224,7 @@ export function useInvoicesTableColumns() {
width: 90,
className: 'reference_no',
clickable: true,
textOverview: true,
},
],
[],

View File

@@ -8,7 +8,6 @@ import {
MenuDivider,
Position,
} from '@blueprintjs/core';
import { FormattedMessage as T } from 'components';
import intl from 'react-intl-universal';
import moment from 'moment';
import { Money, Icon } from 'components';
@@ -90,6 +89,7 @@ export function usePaymentReceivesColumns() {
width: 140,
className: 'payment_date',
clickable: true,
textOverview: true,
},
{
id: 'customer',
@@ -98,6 +98,7 @@ export function usePaymentReceivesColumns() {
width: 160,
className: 'customer_id',
clickable: true,
textOverview: true,
},
{
id: 'amount',
@@ -106,6 +107,7 @@ export function usePaymentReceivesColumns() {
width: 120,
className: 'amount',
clickable: true,
textOverview: true,
},
{
id: 'payment_receive_no',
@@ -115,6 +117,7 @@ export function usePaymentReceivesColumns() {
width: 140,
className: 'payment_receive_no',
clickable: true,
textOverview: true,
},
{
id: 'deposit_account',
@@ -123,6 +126,7 @@ export function usePaymentReceivesColumns() {
width: 140,
className: 'deposit_account_id',
clickable: true,
textOverview: true,
},
{
id: 'reference_no',
@@ -131,6 +135,7 @@ export function usePaymentReceivesColumns() {
width: 140,
className: 'reference_no',
clickable: true,
textOverview: true,
},
],
[],

View File

@@ -102,6 +102,7 @@ export function useReceiptsTableColumns() {
width: 140,
className: 'receipt_date',
clickable: true,
textOverview: true,
},
{
id: 'customer',
@@ -110,6 +111,7 @@ export function useReceiptsTableColumns() {
width: 140,
className: 'customer_id',
clickable: true,
textOverview: true,
},
{
id: 'receipt_number',
@@ -118,6 +120,7 @@ export function useReceiptsTableColumns() {
width: 140,
className: 'receipt_number',
clickable: true,
textOverview: true,
},
{
id: 'deposit_account',
@@ -126,6 +129,7 @@ export function useReceiptsTableColumns() {
width: 140,
className: 'deposit_account',
clickable: true,
textOverview: true,
},
{
id: 'amount',
@@ -134,6 +138,7 @@ export function useReceiptsTableColumns() {
width: 140,
className: 'amount',
clickable: true,
textOverview: true,
},
{
id: 'status',
@@ -150,6 +155,7 @@ export function useReceiptsTableColumns() {
width: 140,
className: 'reference_no',
clickable: true,
textOverview: true,
},
],
[],