diff --git a/client/src/containers/Customers/CustomersLanding/components.js b/client/src/containers/Customers/CustomersLanding/components.js
index 8db27dc6c..33f070b38 100644
--- a/client/src/containers/Customers/CustomersLanding/components.js
+++ b/client/src/containers/Customers/CustomersLanding/components.js
@@ -83,7 +83,7 @@ export function useCustomersTableColumns() {
Header: '',
accessor: AvatarCell,
className: 'avatar',
- width: 50,
+ width: 45,
disableResizing: true,
disableSortBy: true,
},
diff --git a/client/src/containers/Dialogs/CurrencyFormDialog/CurrencyFormFooter.js b/client/src/containers/Dialogs/CurrencyFormDialog/CurrencyFormFooter.js
index 11649134c..cdc26c109 100644
--- a/client/src/containers/Dialogs/CurrencyFormDialog/CurrencyFormFooter.js
+++ b/client/src/containers/Dialogs/CurrencyFormDialog/CurrencyFormFooter.js
@@ -8,6 +8,9 @@ import { FormattedMessage as T } from 'components';
import withDialogActions from 'containers/Dialog/withDialogActions';
import { compose } from 'utils';
+/**
+ * Currency dialog form footer action.
+ */
function CurrencyFormFooter({
// #withDialogActions
closeDialog,
@@ -23,10 +26,10 @@ function CurrencyFormFooter({
return (
-
diff --git a/client/src/containers/FinancialStatements/CashFlowStatement/utils.js b/client/src/containers/FinancialStatements/CashFlowStatement/utils.js
index 95086ef54..028c57d7f 100644
--- a/client/src/containers/FinancialStatements/CashFlowStatement/utils.js
+++ b/client/src/containers/FinancialStatements/CashFlowStatement/utils.js
@@ -13,7 +13,7 @@ const accountNameMapper = (column) => ({
accessor: 'cells[0].value',
className: 'account_name',
textOverview: true,
- width: 240,
+ width: 400,
disableSortBy: true,
});
@@ -25,7 +25,10 @@ const dateRangeMapper = (data, index, column) => ({
Header: column.label,
key: column.key,
accessor: `cells[${index}].value`,
- width: getColumnWidth(data, `cells.${index}.value`, { minWidth: 100 }),
+ width: getColumnWidth(data, `cells.${index}.value`, {
+ magicSpacing: 10,
+ minWidth: 100,
+ }),
className: `date-period ${column.key}`,
disableSortBy: true,
textOverview: true,
@@ -41,7 +44,10 @@ const totalMapper = (data, index, column) => ({
className: 'total',
textOverview: true,
Cell: CellTextSpan,
- width: getColumnWidth(data, `cells[${index}].value`, { minWidth: 100 }),
+ width: getColumnWidth(data, `cells[${index}].value`, {
+ magicSpacing: 10,
+ minWidth: 100,
+ }),
disableSortBy: true,
});
diff --git a/server/src/database/migrations/20200810121810_create_inventory_adjustments_entries_table.js b/server/src/database/migrations/20200810121810_create_inventory_adjustments_entries_table.js
index 10143f622..c40f877e2 100644
--- a/server/src/database/migrations/20200810121810_create_inventory_adjustments_entries_table.js
+++ b/server/src/database/migrations/20200810121810_create_inventory_adjustments_entries_table.js
@@ -1,16 +1,25 @@
-
-exports.up = function(knex) {
- return knex.schema.createTable('inventory_adjustments_entries', table => {
+exports.up = function (knex) {
+ return knex.schema.createTable('inventory_adjustments_entries', (table) => {
table.increments();
- table.integer('adjustment_id').unsigned().index().references('id').inTable('inventory_adjustments');
+ table
+ .integer('adjustment_id')
+ .unsigned()
+ .index()
+ .references('id')
+ .inTable('inventory_adjustments');
table.integer('index').unsigned();
- table.integer('item_id').unsigned().index().references('id').inTable('items');
+ table
+ .integer('item_id')
+ .unsigned()
+ .index()
+ .references('id')
+ .inTable('items');
table.integer('quantity');
- table.decimal('cost').unsigned();
- table.decimal('value').unsigned();
+ table.decimal('cost', 13, 3).unsigned();
+ table.decimal('value', 13, 3).unsigned();
});
};
-exports.down = function(knex) {
+exports.down = function (knex) {
return knex.schema.dropTableIfExists('inventory_adjustments_entries');
};