mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-23 16:19:49 +00:00
Compare commits
24 Commits
BIG-237-va
...
BIG-378-ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e7720bd9 | ||
|
|
b0cf8f723f | ||
|
|
b0a826e62a | ||
|
|
6daa9f09a5 | ||
|
|
f828d85880 | ||
|
|
46d895bef9 | ||
|
|
1fa26c7cb7 | ||
|
|
41d2fc63cb | ||
|
|
4814a40fa9 | ||
|
|
b903aa3eb2 | ||
|
|
872b98fb0d | ||
|
|
b849bfaa95 | ||
|
|
756af3c4d3 | ||
|
|
b935d13918 | ||
|
|
4aea9cb19b | ||
|
|
d22212e6e3 | ||
|
|
6a6ff16c48 | ||
|
|
d08894820d | ||
|
|
2db32b8ee8 | ||
|
|
86c6de361b | ||
|
|
9bd13b0d46 | ||
|
|
30b17d697f | ||
|
|
ce674466fe | ||
|
|
373a695c4c |
21
CHANGELOG.md
21
CHANGELOG.md
@@ -2,6 +2,27 @@
|
|||||||
|
|
||||||
All notable changes to Bigcapital server-side will be in this file.
|
All notable changes to Bigcapital server-side will be in this file.
|
||||||
|
|
||||||
|
## [1.7.1-rc.2] - 30-03-2022
|
||||||
|
|
||||||
|
## Added
|
||||||
|
- `BIG-141` Add inactive status to item drawer details.
|
||||||
|
- `BIG-278` Add created at date on expense details.
|
||||||
|
- `BIG-350` Add empty status content of warehouse transfers service.
|
||||||
|
- `BIG-344` Add branch details to manual journal and expense details.
|
||||||
|
## Fixed
|
||||||
|
- `BIG-221` Remove Non-inventory radio choice on item form.
|
||||||
|
- `BIG-236` Validate estimate expiration date should be equal or bigger than estimate date.
|
||||||
|
- `BIG-237` Validate invoice due date should be equal or bigger than invoice date.
|
||||||
|
- `BIG-238` Validate bill due date should be equal or bigger than bill date.
|
||||||
|
- `BIG-280` Optimize style of multi-select accounts menu.
|
||||||
|
- `BIG-284` Cashflow statement loading bar.
|
||||||
|
- `BIG-296` Creating a new child account from accounts list.
|
||||||
|
- `BIG-301` Navigation bar divider on actions bar hide with permissions control.
|
||||||
|
- `BIG-304` Adding cash or bank account from cash flow service.
|
||||||
|
- `BIG-351` Invalid date in the inventory adjustment detail.
|
||||||
|
- `BIG-352` Fix terms and notes fields on footer of all services.
|
||||||
|
- `BIG-354` Validate the warehouse transfer quantity should be above zero.
|
||||||
|
|
||||||
## [1.7.0-rc.1] - 24-03-2022
|
## [1.7.0-rc.1] - 24-03-2022
|
||||||
|
|
||||||
## Added
|
## Added
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bigcapital-client",
|
"name": "bigcapital-client",
|
||||||
"version": "1.6.3",
|
"version": "1.7.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "7.8.4",
|
"@babel/core": "7.8.4",
|
||||||
|
|||||||
@@ -4,7 +4,12 @@ import { Popover2 } from '@blueprintjs/popover2';
|
|||||||
import { useFormikContext } from 'formik';
|
import { useFormikContext } from 'formik';
|
||||||
import intl from 'react-intl-universal';
|
import intl from 'react-intl-universal';
|
||||||
|
|
||||||
import { ExchangeRateInputGroup, Icon, Hint, FormattedMessage as T } from 'components';
|
import {
|
||||||
|
ExchangeRateInputGroup,
|
||||||
|
Icon,
|
||||||
|
Hint,
|
||||||
|
FormattedMessage as T,
|
||||||
|
} from 'components';
|
||||||
import {
|
import {
|
||||||
AccountsListFieldCell,
|
AccountsListFieldCell,
|
||||||
MoneyFieldCell,
|
MoneyFieldCell,
|
||||||
@@ -63,7 +68,10 @@ export const ActionsCellRenderer = ({
|
|||||||
};
|
};
|
||||||
const exampleMenu = (
|
const exampleMenu = (
|
||||||
<Menu>
|
<Menu>
|
||||||
<MenuItem onClick={handleClickRemoveRole} text="Remove line" />
|
<MenuItem
|
||||||
|
onClick={handleClickRemoveRole}
|
||||||
|
text={intl.get('make_journal.entries.remove_row')}
|
||||||
|
/>
|
||||||
</Menu>
|
</Menu>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import {
|
|||||||
Col,
|
Col,
|
||||||
DetailItem,
|
DetailItem,
|
||||||
DetailsMenu,
|
DetailsMenu,
|
||||||
|
FormatDate,
|
||||||
ExchangeRateDetailItem,
|
ExchangeRateDetailItem,
|
||||||
FormattedMessage as T,
|
FormattedMessage as T,
|
||||||
} from 'components';
|
} from 'components';
|
||||||
@@ -64,10 +65,12 @@ export default function ExpenseDrawerHeader() {
|
|||||||
minLabelSize={'180px'}
|
minLabelSize={'180px'}
|
||||||
>
|
>
|
||||||
<DetailItem label={<T id={'published_at'} />}>
|
<DetailItem label={<T id={'published_at'} />}>
|
||||||
{moment(expense.published_at).format('YYYY MMM DD')}
|
<FormatDate value={expense.published_at} />
|
||||||
</DetailItem>
|
</DetailItem>
|
||||||
|
|
||||||
<DetailItem label={<T id={'created_at'} />}>2021 Aug 24</DetailItem>
|
<DetailItem label={<T id={'created_at'} />}>
|
||||||
|
<FormatDate value={expense.created_at} />
|
||||||
|
</DetailItem>
|
||||||
</DetailsMenu>
|
</DetailsMenu>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import intl from 'react-intl-universal';
|
||||||
import { useExpense } from 'hooks/query';
|
import { useExpense } from 'hooks/query';
|
||||||
import { DrawerLoading } from 'components';
|
import { DrawerHeaderContent, DrawerLoading } from 'components';
|
||||||
|
import { Features } from 'common';
|
||||||
|
import { useFeatureCan } from 'hooks/state';
|
||||||
|
|
||||||
const ExpenseDrawerDrawerContext = React.createContext();
|
const ExpenseDrawerDrawerContext = React.createContext();
|
||||||
|
|
||||||
@@ -8,6 +11,9 @@ const ExpenseDrawerDrawerContext = React.createContext();
|
|||||||
* Expense drawer provider.
|
* Expense drawer provider.
|
||||||
*/
|
*/
|
||||||
function ExpenseDrawerProvider({ expenseId, ...props }) {
|
function ExpenseDrawerProvider({ expenseId, ...props }) {
|
||||||
|
// Features guard.
|
||||||
|
const { featureCan } = useFeatureCan();
|
||||||
|
|
||||||
// Fetch the expense details.
|
// Fetch the expense details.
|
||||||
const {
|
const {
|
||||||
data: expense,
|
data: expense,
|
||||||
@@ -28,6 +34,17 @@ function ExpenseDrawerProvider({ expenseId, ...props }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<DrawerLoading loading={isExpenseLoading}>
|
<DrawerLoading loading={isExpenseLoading}>
|
||||||
|
<DrawerHeaderContent
|
||||||
|
name="expense-drawer"
|
||||||
|
title={intl.get('expense.drawer.title')}
|
||||||
|
subTitle={
|
||||||
|
featureCan(Features.Branches)
|
||||||
|
? intl.get('expense.drawer.subtitle', {
|
||||||
|
value: expense.branch?.name,
|
||||||
|
})
|
||||||
|
: null
|
||||||
|
}
|
||||||
|
/>
|
||||||
<ExpenseDrawerDrawerContext.Provider value={provider} {...props} />
|
<ExpenseDrawerDrawerContext.Provider value={provider} {...props} />
|
||||||
</DrawerLoading>
|
</DrawerLoading>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
import React, { lazy } from 'react';
|
import React, { lazy } from 'react';
|
||||||
import intl from 'react-intl-universal';
|
|
||||||
|
|
||||||
import { Drawer, DrawerSuspense } from 'components';
|
import { Drawer, DrawerSuspense } from 'components';
|
||||||
import withDrawers from 'containers/Drawer/withDrawers';
|
import withDrawers from 'containers/Drawer/withDrawers';
|
||||||
|
|
||||||
@@ -22,7 +20,6 @@ function ExpenseDrawer({
|
|||||||
<Drawer
|
<Drawer
|
||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
name={name}
|
name={name}
|
||||||
title={intl.get('expense.drawer.title')}
|
|
||||||
size={'65%'}
|
size={'65%'}
|
||||||
style={{ minWidth: '700px', maxWidth: '900px' }}
|
style={{ minWidth: '700px', maxWidth: '900px' }}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { DrawerHeaderContent, DrawerLoading } from 'components';
|
import { DrawerHeaderContent, DrawerLoading } from 'components';
|
||||||
import { useItem } from 'hooks/query';
|
import { useItem } from 'hooks/query';
|
||||||
|
import { inactiveStatus } from './utlis';
|
||||||
|
|
||||||
const ItemDetailDrawerContext = React.createContext();
|
const ItemDetailDrawerContext = React.createContext();
|
||||||
|
|
||||||
@@ -27,7 +28,10 @@ function ItemDetailDrawerProvider({ itemId, ...props }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<DrawerLoading loading={isItemLoading}>
|
<DrawerLoading loading={isItemLoading}>
|
||||||
<DrawerHeaderContent name="item-detail-drawer" title={item?.name} />
|
<DrawerHeaderContent
|
||||||
|
name="item-detail-drawer"
|
||||||
|
title={inactiveStatus(item)}
|
||||||
|
/>
|
||||||
<ItemDetailDrawerContext.Provider value={provider} {...props} />
|
<ItemDetailDrawerContext.Provider value={provider} {...props} />
|
||||||
</DrawerLoading>
|
</DrawerLoading>
|
||||||
);
|
);
|
||||||
|
|||||||
27
src/containers/Drawers/ItemDetailDrawer/utlis.js
Normal file
27
src/containers/Drawers/ItemDetailDrawer/utlis.js
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import styled from 'styled-components';
|
||||||
|
import { Intent, Tag } from '@blueprintjs/core';
|
||||||
|
import { Choose, FormattedMessage as T } from '../../../components';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* items inactive status.
|
||||||
|
* @returns {React.JSX}
|
||||||
|
*/
|
||||||
|
export function inactiveStatus(item) {
|
||||||
|
return (
|
||||||
|
<Choose>
|
||||||
|
<Choose.When condition={!item.active}>
|
||||||
|
{item.name}
|
||||||
|
<StatusTag intent={Intent.NONE} minimal={true} round={true}>
|
||||||
|
<T id={'item.details.inactive'} />
|
||||||
|
</StatusTag>
|
||||||
|
</Choose.When>
|
||||||
|
<Choose.Otherwise>{item.name}</Choose.Otherwise>
|
||||||
|
</Choose>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const StatusTag = styled(Tag)`
|
||||||
|
font-size: 11px;
|
||||||
|
margin-left: 10px;
|
||||||
|
`;
|
||||||
@@ -3,6 +3,8 @@ import React from 'react';
|
|||||||
import { Tag, Intent, Classes, Tooltip, Position } from '@blueprintjs/core';
|
import { Tag, Intent, Classes, Tooltip, Position } from '@blueprintjs/core';
|
||||||
|
|
||||||
import { T, Choose, FormatNumberCell, If, Icon } from '../../../components';
|
import { T, Choose, FormatNumberCell, If, Icon } from '../../../components';
|
||||||
|
import { Features } from 'common';
|
||||||
|
import { useFeatureCan } from 'hooks/state';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Note column accessor.
|
* Note column accessor.
|
||||||
@@ -46,8 +48,9 @@ export function ManualJournalDetailsStatus({ manualJournal }) {
|
|||||||
/**
|
/**
|
||||||
* Retrieve read-only manual journal entries columns.
|
* Retrieve read-only manual journal entries columns.
|
||||||
*/
|
*/
|
||||||
export const useManualJournalEntriesColumns = () =>
|
export const useManualJournalEntriesColumns = () => {
|
||||||
React.useMemo(
|
const { featureCan } = useFeatureCan();
|
||||||
|
return React.useMemo(
|
||||||
() => [
|
() => [
|
||||||
{
|
{
|
||||||
Header: intl.get('account_name'),
|
Header: intl.get('account_name'),
|
||||||
@@ -70,6 +73,17 @@ export const useManualJournalEntriesColumns = () =>
|
|||||||
disableSortBy: true,
|
disableSortBy: true,
|
||||||
className: 'note',
|
className: 'note',
|
||||||
},
|
},
|
||||||
|
...(featureCan(Features.Branches)
|
||||||
|
? [
|
||||||
|
{
|
||||||
|
Header: intl.get('branch'),
|
||||||
|
width: 130,
|
||||||
|
accessor: 'branch.name',
|
||||||
|
disableSortBy: true,
|
||||||
|
className: 'branch',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: []),
|
||||||
{
|
{
|
||||||
Header: intl.get('credit'),
|
Header: intl.get('credit'),
|
||||||
accessor: 'credit',
|
accessor: 'credit',
|
||||||
@@ -93,5 +107,6 @@ export const useManualJournalEntriesColumns = () =>
|
|||||||
align: 'right',
|
align: 'right',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[],
|
[featureCan],
|
||||||
);
|
);
|
||||||
|
};
|
||||||
|
|||||||
@@ -43,7 +43,10 @@ export function ActionsCellRenderer({
|
|||||||
|
|
||||||
const exampleMenu = (
|
const exampleMenu = (
|
||||||
<Menu>
|
<Menu>
|
||||||
<MenuItem onClick={onRemoveRole} text="Remove line" />
|
<MenuItem
|
||||||
|
onClick={onRemoveRole}
|
||||||
|
text={<T id={'item_entries.remove_row'} />}
|
||||||
|
/>
|
||||||
</Menu>
|
</Menu>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,10 @@ const ActionsCellRenderer = ({
|
|||||||
};
|
};
|
||||||
const exampleMenu = (
|
const exampleMenu = (
|
||||||
<Menu>
|
<Menu>
|
||||||
<MenuItem onClick={handleClickRemoveRole} text="Remove line" />
|
<MenuItem
|
||||||
|
onClick={handleClickRemoveRole}
|
||||||
|
text={intl.get('expense.entries.remove_row')}
|
||||||
|
/>
|
||||||
</Menu>
|
</Menu>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
@@ -163,4 +166,4 @@ export function ExpensesExchangeRateInputField({ ...props }) {
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
ExpensesExchangeRateInputField.cellType = CellType.Field;
|
ExpensesExchangeRateInputField.cellType = CellType.Field;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ function ItemsCategoryTable({
|
|||||||
loading={isCategoriesLoading}
|
loading={isCategoriesLoading}
|
||||||
headerLoading={isCategoriesLoading}
|
headerLoading={isCategoriesLoading}
|
||||||
progressBarLoading={isCategoriesFetching}
|
progressBarLoading={isCategoriesFetching}
|
||||||
expandable={true}
|
expandable={false}
|
||||||
sticky={true}
|
sticky={true}
|
||||||
selectionColumn={true}
|
selectionColumn={true}
|
||||||
TableLoadingRenderer={TableSkeletonRows}
|
TableLoadingRenderer={TableSkeletonRows}
|
||||||
|
|||||||
@@ -1,16 +1,19 @@
|
|||||||
import * as Yup from 'yup';
|
import * as Yup from 'yup';
|
||||||
|
import moment from 'moment';
|
||||||
import intl from 'react-intl-universal';
|
import intl from 'react-intl-universal';
|
||||||
import { DATATYPES_LENGTH } from 'common/dataTypes';
|
import { DATATYPES_LENGTH } from 'common/dataTypes';
|
||||||
import { isBlank } from 'utils';
|
import { isBlank } from 'utils';
|
||||||
|
|
||||||
const BillFormSchema = Yup.object().shape({
|
const BillFormSchema = Yup.object().shape({
|
||||||
vendor_id: Yup.number()
|
vendor_id: Yup.number().required().label(intl.get('vendor_name_')),
|
||||||
.required()
|
bill_date: Yup.date().required().label(intl.get('bill_date_')),
|
||||||
.label(intl.get('vendor_name_')),
|
|
||||||
bill_date: Yup.date()
|
|
||||||
.required()
|
|
||||||
.label(intl.get('bill_date_')),
|
|
||||||
due_date: Yup.date()
|
due_date: Yup.date()
|
||||||
|
.min(Yup.ref('bill_date'), ({ path, min }) =>
|
||||||
|
intl.get('bill.validation.due_date', {
|
||||||
|
path,
|
||||||
|
min: moment(min).format('YYYY/MM/DD'),
|
||||||
|
}),
|
||||||
|
)
|
||||||
.required()
|
.required()
|
||||||
.label(intl.get('due_date_')),
|
.label(intl.get('due_date_')),
|
||||||
bill_number: Yup.string()
|
bill_number: Yup.string()
|
||||||
@@ -25,7 +28,7 @@ const BillFormSchema = Yup.object().shape({
|
|||||||
open: Yup.boolean(),
|
open: Yup.boolean(),
|
||||||
branch_id: Yup.string(),
|
branch_id: Yup.string(),
|
||||||
warehouse_id: Yup.string(),
|
warehouse_id: Yup.string(),
|
||||||
exchange_rate:Yup.number(),
|
exchange_rate: Yup.number(),
|
||||||
entries: Yup.array().of(
|
entries: Yup.array().of(
|
||||||
Yup.object().shape({
|
Yup.object().shape({
|
||||||
quantity: Yup.number()
|
quantity: Yup.number()
|
||||||
|
|||||||
@@ -2,16 +2,19 @@ import * as Yup from 'yup';
|
|||||||
import intl from 'react-intl-universal';
|
import intl from 'react-intl-universal';
|
||||||
import { DATATYPES_LENGTH } from 'common/dataTypes';
|
import { DATATYPES_LENGTH } from 'common/dataTypes';
|
||||||
import { isBlank } from 'utils';
|
import { isBlank } from 'utils';
|
||||||
|
import moment from 'moment';
|
||||||
|
|
||||||
const Schema = Yup.object().shape({
|
const Schema = Yup.object().shape({
|
||||||
customer_id: Yup.number()
|
customer_id: Yup.number().label(intl.get('customer_name_')).required(),
|
||||||
.label(intl.get('customer_name_'))
|
estimate_date: Yup.date().required().label(intl.get('estimate_date_')),
|
||||||
.required(),
|
|
||||||
estimate_date: Yup.date()
|
|
||||||
.required()
|
|
||||||
.label(intl.get('estimate_date_')),
|
|
||||||
expiration_date: Yup.date()
|
expiration_date: Yup.date()
|
||||||
.required()
|
.required()
|
||||||
|
.min(Yup.ref('estimate_date'), ({ path, min }) =>
|
||||||
|
intl.get('estimate.validation.expiration_date', {
|
||||||
|
path,
|
||||||
|
min: moment(min).format('YYYY/MM/DD'),
|
||||||
|
}),
|
||||||
|
)
|
||||||
.label(intl.get('expiration_date_')),
|
.label(intl.get('expiration_date_')),
|
||||||
estimate_number: Yup.string()
|
estimate_number: Yup.string()
|
||||||
.max(DATATYPES_LENGTH.STRING)
|
.max(DATATYPES_LENGTH.STRING)
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ function InvoiceFormHeaderFields({
|
|||||||
</FastField>
|
</FastField>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col className={'col--due-date'}>
|
<Col xs={6}>
|
||||||
{/* ----------- Due date ----------- */}
|
{/* ----------- Due date ----------- */}
|
||||||
<FastField name={'due_date'}>
|
<FastField name={'due_date'}>
|
||||||
{({ form, field: { value }, meta: { error, touched } }) => (
|
{({ form, field: { value }, meta: { error, touched } }) => (
|
||||||
|
|||||||
@@ -72,18 +72,6 @@ function WarehouseTransferForm({
|
|||||||
// Handles form submit.
|
// Handles form submit.
|
||||||
const handleSubmit = (values, { setSubmitting, setErrors, resetForm }) => {
|
const handleSubmit = (values, { setSubmitting, setErrors, resetForm }) => {
|
||||||
setSubmitting(true);
|
setSubmitting(true);
|
||||||
const totalQuantity = sumBy(values.entries, 'quantity');
|
|
||||||
|
|
||||||
if (totalQuantity <= 0) {
|
|
||||||
AppToaster.show({
|
|
||||||
message: intl.get(
|
|
||||||
'warehouse_transfer.quantity_cannot_be_zero_or_empty',
|
|
||||||
),
|
|
||||||
intent: Intent.DANGER,
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Transformes the values of the form to request.
|
// Transformes the values of the form to request.
|
||||||
const form = {
|
const form = {
|
||||||
...transformValueToRequest(values),
|
...transformValueToRequest(values),
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const Schema = Yup.object().shape({
|
|||||||
Yup.object().shape({
|
Yup.object().shape({
|
||||||
item_id: Yup.number().nullable(),
|
item_id: Yup.number().nullable(),
|
||||||
description: Yup.string().nullable().max(DATATYPES_LENGTH.TEXT),
|
description: Yup.string().nullable().max(DATATYPES_LENGTH.TEXT),
|
||||||
quantity: Yup.number().nullable().max(DATATYPES_LENGTH.INT_10),
|
quantity: Yup.number().min(1).max(DATATYPES_LENGTH.INT_10),
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export default function WarehouseTransferFormEntriesTable({
|
|||||||
item_id: newRowMeta.itemId,
|
item_id: newRowMeta.itemId,
|
||||||
warehouses: newRowMeta.warehouses,
|
warehouses: newRowMeta.warehouses,
|
||||||
description: '',
|
description: '',
|
||||||
quantity: 0,
|
quantity: '',
|
||||||
};
|
};
|
||||||
const newRows = mutateTableRow(newRowMeta.rowIndex, newRow, entries);
|
const newRows = mutateTableRow(newRowMeta.rowIndex, newRow, entries);
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,10 @@ export function ActionsCellRenderer({
|
|||||||
|
|
||||||
const exampleMenu = (
|
const exampleMenu = (
|
||||||
<Menu>
|
<Menu>
|
||||||
<MenuItem onClick={onRemoveRole} text="Remove line" />
|
<MenuItem
|
||||||
|
onClick={onRemoveRole}
|
||||||
|
text={intl.get('warehouse_transfer.entries.remove_row')}
|
||||||
|
/>
|
||||||
</Menu>
|
</Menu>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -1960,6 +1960,7 @@
|
|||||||
"invoice_form.label.payment_amount": "مبلغ المدفوع",
|
"invoice_form.label.payment_amount": "مبلغ المدفوع",
|
||||||
"invoice_form.label.invoice_message": "رسالة الفاتورة",
|
"invoice_form.label.invoice_message": "رسالة الفاتورة",
|
||||||
"invoice_form.invoice_message.placeholder": "Thanks for your business and have a great day!",
|
"invoice_form.invoice_message.placeholder": "Thanks for your business and have a great day!",
|
||||||
|
"invoice_form.label.terms_conditions": "الشروط والأحكام",
|
||||||
"invoice_form.terms_and_conditions.placeholder": "Enter the terms and conditions of your business to be displayed in your transaction",
|
"invoice_form.terms_and_conditions.placeholder": "Enter the terms and conditions of your business to be displayed in your transaction",
|
||||||
"receipt_form.label.total": "إجمالي",
|
"receipt_form.label.total": "إجمالي",
|
||||||
"receipt_form.label.subtotal": "المجموع",
|
"receipt_form.label.subtotal": "المجموع",
|
||||||
@@ -2005,9 +2006,17 @@
|
|||||||
"estimate.warehouse_button.label": "المخزن: {label}",
|
"estimate.warehouse_button.label": "المخزن: {label}",
|
||||||
"receipt.branch_button.label": "الفرع: {label}",
|
"receipt.branch_button.label": "الفرع: {label}",
|
||||||
"receipt.warehouse_button.label": "المخزن: {label}",
|
"receipt.warehouse_button.label": "المخزن: {label}",
|
||||||
"warehouse_transfer.empty_status.title": "إدارة عمليات النقل بين المستودعات",
|
"warehouse_transfer.empty_status.title": "إدارة عمليات النقل بين المخازن",
|
||||||
"warehouse_transfer.empty_status.description": "غالبًا ماتحتاج الاعمال ذات مستودعات متعددة لطلبات نقل البضائع من مستودع إلى آخر عندما تكون في حاجة ماسة إلى البائعين.",
|
"warehouse_transfer.empty_status.description": "غالبًا ماتحتاج الاعمال ذات مخازن متعددة لطلبات نقل البضائع من مخزن إلى آخر عندما تكون في حاجة ماسة إلى البائعين.",
|
||||||
|
"warehouse_transfer.form.reason.label": "أسباب النقل",
|
||||||
|
"warehouse_transfer.form.reason.placeholder": "Enter the reason behind the transfer order.",
|
||||||
"item.error.you_could_not_delete_item_has_associated": "لا يمكنك حذف العنصر لديه معاملات مرتبطة به ",
|
"item.error.you_could_not_delete_item_has_associated": "لا يمكنك حذف العنصر لديه معاملات مرتبطة به ",
|
||||||
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "لا يمكن أن تكون الكمية صفراً أو فارغة.",
|
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "لا يمكن أن تكون الكمية صفراً أو فارغة.",
|
||||||
"invoice.validation.due_date": "يجب أن يكون حقل {path} في وقت لاحق من {min}"
|
"invoice.validation.due_date": "يجب أن يكون حقل {path} في وقت لاحق من {min}",
|
||||||
|
"estimate.validation.expiration_date": "يجب أن يكون حقل {path} في وقت لاحق من {min}",
|
||||||
|
"make_journal.entries.remove_row": "حذف الصف",
|
||||||
|
"expense.entries.remove_row": "حذف الصف",
|
||||||
|
"warehouse_transfer.entries.remove_row": "حذف الصف",
|
||||||
|
"item.details.inactive": "غير نشط",
|
||||||
|
"bill.validation.due_date": "يجب أن يكون حقل {path} في وقت لاحق من {min}"
|
||||||
}
|
}
|
||||||
@@ -1756,6 +1756,7 @@
|
|||||||
"payment_made.drawer.subtitle": "Branch: {value}",
|
"payment_made.drawer.subtitle": "Branch: {value}",
|
||||||
"manual_journal.drawer.title": "Manual journal details ({number})",
|
"manual_journal.drawer.title": "Manual journal details ({number})",
|
||||||
"expense.drawer.title": "Expense details",
|
"expense.drawer.title": "Expense details",
|
||||||
|
"expense.drawer.subtitle": "Branch: {value}",
|
||||||
"global_error.you_dont_have_permissions": "You do not have permissions to access this page.",
|
"global_error.you_dont_have_permissions": "You do not have permissions to access this page.",
|
||||||
"global_error.transactions_locked": "Transactions before {lockedToDate} has been locked. Hence action cannot be performed.",
|
"global_error.transactions_locked": "Transactions before {lockedToDate} has been locked. Hence action cannot be performed.",
|
||||||
"global_error.authorized_user_inactive": "The authorized user is inactive.",
|
"global_error.authorized_user_inactive": "The authorized user is inactive.",
|
||||||
@@ -2009,5 +2010,11 @@
|
|||||||
"warehouse_transfer.form.reason.label": "Reason",
|
"warehouse_transfer.form.reason.label": "Reason",
|
||||||
"warehouse_transfer.form.reason.placeholder": "Enter the reason behind the transfer order.",
|
"warehouse_transfer.form.reason.placeholder": "Enter the reason behind the transfer order.",
|
||||||
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "Quantity cannot be zero or empty.",
|
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "Quantity cannot be zero or empty.",
|
||||||
"invoice.validation.due_date": "{path} field must be later than {min}"
|
"invoice.validation.due_date": "{path} field must be later than {min}",
|
||||||
|
"estimate.validation.expiration_date": "{path} field must be later than {min}",
|
||||||
|
"make_journal.entries.remove_row": "Remove line",
|
||||||
|
"expense.entries.remove_row": "Remove line",
|
||||||
|
"warehouse_transfer.entries.remove_row": "Remove line",
|
||||||
|
"item.details.inactive": "Inactive",
|
||||||
|
"bill.validation.due_date": "{path} field must be later than {min}"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user