wizard passing extra steps issue updated
This commit is contained in:
parent
6e3c1340ae
commit
9fae62e3b8
4
resources/assets/js/views/wizard/company.js
vendored
4
resources/assets/js/views/wizard/company.js
vendored
@ -39,8 +39,6 @@ const app = new Vue({
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
next() {
|
|
||||||
if (this.active++ > 3);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -106,9 +106,5 @@ const app = new Vue({
|
|||||||
.catch(error => {
|
.catch(error => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
next() {
|
|
||||||
if (this.active++ > 3);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
6
resources/assets/js/views/wizard/finish.js
vendored
6
resources/assets/js/views/wizard/finish.js
vendored
@ -31,13 +31,11 @@ const app = new Vue({
|
|||||||
|
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
active: 3
|
active: 3,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
next() {
|
|
||||||
if (this.active++ > 3);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
4
resources/assets/js/views/wizard/taxes.js
vendored
4
resources/assets/js/views/wizard/taxes.js
vendored
@ -78,9 +78,5 @@ const app = new Vue({
|
|||||||
|
|
||||||
this.show = true;
|
this.show = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
next() {
|
|
||||||
if (this.active++ > 3);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
<div id="wizard-loading"></div>
|
<div id="wizard-loading"></div>
|
||||||
@include('partials.wizard.steps')
|
@include('partials.wizard.steps')
|
||||||
|
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div id="wizard-loading"></div>
|
<div id="wizard-loading"></div>
|
||||||
<div class="row mb--4">
|
<div class="row mb--4">
|
||||||
@ -68,8 +67,9 @@
|
|||||||
'<div v-if="form.loading" class="aka-loader-frame"><div class="aka-loader"></div></div> <span v-if="!form.loading" class="btn-inner--icon"><i class="fas fa-save"></i></span>' . '<span v-if="!form.loading" class="btn-inner--text"> ' . trans('general.save') . '</span>',
|
'<div v-if="form.loading" class="aka-loader-frame"><div class="aka-loader"></div></div> <span v-if="!form.loading" class="btn-inner--icon"><i class="fas fa-save"></i></span>' . '<span v-if="!form.loading" class="btn-inner--text"> ' . trans('general.save') . '</span>',
|
||||||
[':disabled' => 'form.loading', 'type' => 'submit', 'class' => 'btn btn-icon btn-success button-submit header-button-top', 'data-loading-text' => trans('general.loading')]) !!}
|
[':disabled' => 'form.loading', 'type' => 'submit', 'class' => 'btn btn-icon btn-success button-submit header-button-top', 'data-loading-text' => trans('general.loading')]) !!}
|
||||||
|
|
||||||
<a href="{{ url('wizard/currencies') }}" id="wizard-skip" class="btn btn-white header-button-top" @click="next">
|
<a href="{{ url('wizard/currencies') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top">
|
||||||
<span class="fas fa-arrow-right"></span> {{ trans('general.skip') }}
|
<span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('general.skip') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -123,13 +123,15 @@
|
|||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<a href="{{ url('wizard/companies') }}" class="btn btn-white header-button-top">
|
<a href="{{ url('wizard/companies') }}" class="btn btn-icon btn-white header-button-top">
|
||||||
<span class="fas fa-arrow-left"></span> {{ trans('modules.back') }}
|
<span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('modules.back') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 text-right">
|
<div class="col-sm-6 text-right">
|
||||||
<a href="{{ url('wizard/taxes') }}" id="wizard-skip" class="btn btn-white header-button-top" @click="next">
|
<a href="{{ url('wizard/taxes') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top">
|
||||||
<span class="fas fa-arrow-right"></span> {{ trans('general.skip') }}
|
<span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('general.skip') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,13 +50,15 @@
|
|||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<a href="{{ url('wizard/taxes') }}" class="btn btn-white header-button-top">
|
<a href="{{ url('wizard/taxes') }}" class="btn btn-icon btn-white header-button-top">
|
||||||
<span class="fas fa-arrow-left"></span> {{ trans('modules.back') }}
|
<span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('modules.back') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 text-right">
|
<div class="col-sm-6 text-right">
|
||||||
<a href="{{ url('/') }}" class="btn btn-success header-button-top" @click="next">
|
<a href="{{ url('/') }}" id="wizard-skip" class="btn btn-icon btn-success header-button-top">
|
||||||
<span class="fa fa-tachometer-alt"></span> {{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}
|
<span class="btn-inner--icon"><i class="fa fa-tachometer-alt"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -106,13 +106,15 @@
|
|||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<a href="{{ url('wizard/currencies') }}" class="btn btn-white header-button-top">
|
<a href="{{ url('wizard/currencies') }}" class="btn btn-icon btn-white header-button-top">
|
||||||
<span class="fas fa-arrow-left"></span> {{ trans('modules.back') }}
|
<span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('modules.back') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 text-right">
|
<div class="col-sm-6 text-right">
|
||||||
<a href="{{ url('wizard/finish') }}" id="wizard-skip" class="btn btn-white header-button-top" @click="next">
|
<a href="{{ url('wizard/finish') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top">
|
||||||
<span class="fas fa-arrow-right"></span> {{ trans('general.skip') }}
|
<span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span>
|
||||||
|
<span class="btn-inner--text">{{ trans('general.skip') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user