removed debugging elements
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2022-10-17 07:38:54 +02:00
parent 594cee12f3
commit 1603619d81
2 changed files with 0 additions and 9 deletions

View File

@ -1,6 +1,3 @@
/* eslint-disable no-console */
// eslint-disable-next-line no-unused-vars
module.exports = Self => {
Self.remoteMethod('newSupplier', {
description: 'returns the created item',
@ -26,8 +23,6 @@ module.exports = Self => {
params.payDemFk = 1;
console.log(params);
if (!myOptions.transaction) {
tx = await Self.beginTransaction({});
myOptions.transaction = tx;
@ -42,7 +37,6 @@ module.exports = Self => {
supplier
};
} catch (e) {
console.log(e);
if (tx) await tx.rollback();
return params;
}

View File

@ -1,4 +1,3 @@
/* eslint-disable no-console */
import ngModule from '../module';
import Section from 'salix/components/section';
@ -10,9 +9,7 @@ class Controller extends Section {
onSubmit() {
this.$.watcher.submit().then(
json => {
console.log('abc');
this.$state.go('item.card.basicData', {id: json.data.id});
console.log('ctrl --> ', this.$.$ctrl);
redirect(this.$.$ctrl);