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