mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
fix: customer & inventory adjustment.
This commit is contained in:
@@ -31,7 +31,7 @@ export default function CustomerDetailsHeader() {
|
||||
<DetailItem
|
||||
label={<T id={'customer.drawer.label.customer_type'} />}
|
||||
name={'type'}
|
||||
children={customer?.customer_type}
|
||||
children={customer?.formatted_customer_type }
|
||||
/>
|
||||
<DetailItem label={<T id={'customer.drawer.label.unused_credits'} />}>
|
||||
0
|
||||
|
||||
@@ -24,7 +24,7 @@ export default function InventoryAdjustmentDetailHeader() {
|
||||
</DetailItem>
|
||||
|
||||
<DetailItem label={intl.get('type')}>
|
||||
{inventoryAdjustment.type}
|
||||
{inventoryAdjustment.type_formatted}
|
||||
</DetailItem>
|
||||
|
||||
<DetailItem label={intl.get('adjustment_account')}>
|
||||
|
||||
@@ -40,9 +40,9 @@ export const PublishAccessor = (r) => {
|
||||
* Type column accessor.
|
||||
*/
|
||||
export const TypeAccessor = (row) => {
|
||||
return row.type ? (
|
||||
return row.type_formatted ? (
|
||||
<Tag minimal={true} round={true} intent={Intent.NONE}>
|
||||
{intl.get(row.type)}
|
||||
{row.type_formatted}
|
||||
</Tag>
|
||||
) : (
|
||||
''
|
||||
|
||||
@@ -63,7 +63,7 @@ function ItemsListProvider({ tableState, tableStateChanged, ...props }) {
|
||||
|
||||
return (
|
||||
<DashboardInsider
|
||||
loading={isItemsLoading || isResourceLoading}
|
||||
loading={isViewsLoading || isResourceLoading}
|
||||
name={'items-list'}
|
||||
>
|
||||
<ItemsContext.Provider value={state} {...props} />
|
||||
|
||||
@@ -1426,7 +1426,7 @@
|
||||
"cash_flow_transaction.money_out": "سحب من حساب {value}",
|
||||
"cash_flow_transaction.other_income_account": " حساب الإيرادات الأخرى ",
|
||||
"cash_flow_transaction.other_expense_account": "حساب مصاريف اخري",
|
||||
"save_and_publish": "احفظ وانشر",
|
||||
"save_and_publish": "حفظ ونشر",
|
||||
"cash_flow_transaction.label_transfer_from_account": "تحويل من الحساب ",
|
||||
"cash_flow_transaction.label_transfer_to_account": "تحويل إلى الحساب ",
|
||||
"cash_flow_transaction.label_current_account": "حساب الحالي",
|
||||
|
||||
Reference in New Issue
Block a user