mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
Merge branch 'master' of https://github.com/abouolia/Ratteb
This commit is contained in:
@@ -11,11 +11,7 @@ function Search({
|
||||
openGlobalSearch,
|
||||
closeGlobalSearch,
|
||||
}) {
|
||||
const items = [
|
||||
{ title: 'The Shawshank Redemption', year: 1994 },
|
||||
{ title: 'The Godfather', year: 1972 },
|
||||
{ title: 'The Godfather: Part II', year: 1974 },
|
||||
];
|
||||
const items = [];
|
||||
|
||||
const renderSearch = (search, { handleClick }) => (
|
||||
<MenuItem
|
||||
|
||||
@@ -4,6 +4,7 @@ import { Formik, Form } from 'formik';
|
||||
import { FormattedMessage as T } from 'components';
|
||||
import { Button, Classes } from '@blueprintjs/core';
|
||||
import { Intent } from '@blueprintjs/core';
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
import 'style/pages/ReferenceNumber/ReferenceNumber.scss';
|
||||
|
||||
@@ -54,7 +55,9 @@ export default function ReferenceNumberForm({
|
||||
<Form className={'reference-number-form'}>
|
||||
<div className={Classes.DIALOG_BODY}>
|
||||
<p className="paragraph">
|
||||
Your invoice numbers are set on auto-increment mod. Are you sure changing this setting?
|
||||
{intl.get(
|
||||
'your_invoice_numbers_are_set_on_auto_increment_mod_are_you_sure_changing_this_setting',
|
||||
)}
|
||||
</p>
|
||||
<ReferenceNumberFormContent />
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,7 @@ export default function ReferenceNumberFormContent() {
|
||||
<FastField name={'incrementMode'}>
|
||||
{({ form, field, meta: { error, touched } }) => (
|
||||
<Radio
|
||||
label="Auto-incrementing invoice number."
|
||||
label={<T id={'auto_incrementing_number'} />}
|
||||
value="auto-increment"
|
||||
onChange={() => {
|
||||
form.setFieldValue('incrementMode', 'auto');
|
||||
|
||||
Reference in New Issue
Block a user