Commit 1d71a91d authored by Faisal Hamdi's avatar Faisal Hamdi

Merge branch 'rifka' into 'master'

console mb bs

See merge request !705
parents b44f0123 d251b13d
......@@ -75,7 +75,7 @@ export default class BalanceSheet extends Component {
}
api.create().getAllSettingByType(body).then(response => {
console.log(response);
// console.log(response);
if (response.data) {
if (response.data.status === 'success') {
this.setState({
......@@ -140,7 +140,7 @@ export default class BalanceSheet extends Component {
"submission_id": this.props.submissionID
}
let response = await api.create().getDetailReportMB(payload)
console.log(response);
// console.log(response);
let dataTable = []
if (response.data) {
let res = response.data.data
......@@ -288,7 +288,7 @@ export default class BalanceSheet extends Component {
ExcelRenderer(fileObj, (err, resp) => {
// console.log(resp)
if (err) {
console.log(err);
// console.log(err);
}
else {
let isi = resp.rows.slice(3)
......@@ -333,7 +333,7 @@ export default class BalanceSheet extends Component {
checkUpload() {
api.create().checkUploadMB(this.state.payload).then(response => {
console.log(response)
// console.log(response)
if (response.data) {
if (response.data.status === 'success') {
this.setState({ visibleUpload: false, visibleBalanceSheet: false, loading: true })
......@@ -371,7 +371,7 @@ export default class BalanceSheet extends Component {
this.setState({ dataTable, dataLoaded: true, loading: false, buttonError: false, editable: true, errorPreview: false, saveDraft: true }, () => {
this.state.dataTable.map(item => {
if (item[26].length > 0) {
console.log('error')
// console.log('error')
this.setState({ buttonError: true, errorPreview: true, editable: true, saveDraft: true })
}
})
......@@ -933,7 +933,7 @@ export default class BalanceSheet extends Component {
value={Number(value).toFixed(1)}
onBlur={(event) => {
handleChange(event.target.value, tableMeta)
console.log(dataTable2)
// console.log(dataTable2)
}}
/>
}
......
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