Commit 8b082ef3 authored by Roman's avatar Roman

BRCD-1762 fix(Customer) - linter

parent d06a0c78
......@@ -11,11 +11,10 @@ import { ConfirmModal } from '../../components/Elements';
import { currencySelector, paymentGatewaysSelector } from '../../selectors/settingsSelector';
import OfflinePayment from '../Payments/OfflinePayment';
import CyclesSelector from '../Cycle/CyclesSelector';
import { getExpectedInvoiceQuery, getSettingsQuery } from '../../common/ApiQueries'
import { buildRequestUrl, apiBillRun } from '../../common/Api'
import { getExpectedInvoiceQuery } from '../../common/ApiQueries';
import { buildRequestUrl } from '../../common/Api';
import EntityFields from '../Entity/EntityFields';
import { getSettings } from '../../actions/settingsActions';
import { getList } from '../../actions/listActions';
import Credit from '../Credit/Credit';
class Customer extends Component {
......@@ -183,8 +182,8 @@ class Customer extends Component {
onClickExpectedInvoice = () => {
const { customer } = this.props;
const { expectedCyclesNames } = this.state;
let query = getExpectedInvoiceQuery(customer.get('aid'),expectedCyclesNames);
window.open(buildRequestUrl(query))
const query = getExpectedInvoiceQuery(customer.get('aid'), expectedCyclesNames);
window.open(buildRequestUrl(query));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment