wizard passing extra steps issue updated

This commit is contained in:
batuhanbas 2020-02-02 21:05:11 +03:00
parent 6e3c1340ae
commit 9fae62e3b8
8 changed files with 24 additions and 30 deletions

View File

@ -39,8 +39,6 @@ const app = new Vue({
},
methods: {
next() {
if (this.active++ > 3);
}
}
});

View File

@ -106,9 +106,5 @@ const app = new Vue({
.catch(error => {
});
},
next() {
if (this.active++ > 3);
}
}
});

View File

@ -31,13 +31,11 @@ const app = new Vue({
data: function () {
return {
active: 3
active: 3,
}
},
methods: {
next() {
if (this.active++ > 3);
}
}
});

View File

@ -78,9 +78,5 @@ const app = new Vue({
this.show = true;
},
next() {
if (this.active++ > 3);
}
}
});

View File

@ -19,7 +19,6 @@
<div id="wizard-loading"></div>
@include('partials.wizard.steps')
<div class="card-body">
<div id="wizard-loading"></div>
<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>',
[':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">
<span class="fas fa-arrow-right"></span> &nbsp;{{ trans('general.skip') }}
<a href="{{ url('wizard/currencies') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top">
<span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span>
<span class="btn-inner--text">{{ trans('general.skip') }}</span>
</a>
</div>
</div>

View File

@ -123,13 +123,15 @@
<div class="card-footer">
<div class="row">
<div class="col-sm-6">
<a href="{{ url('wizard/companies') }}" class="btn btn-white header-button-top">
<span class="fas fa-arrow-left"></span> &nbsp;{{ trans('modules.back') }}
<a href="{{ url('wizard/companies') }}" class="btn btn-icon btn-white header-button-top">
<span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span>
<span class="btn-inner--text">{{ trans('modules.back') }}</span>
</a>
</div>
<div class="col-sm-6 text-right">
<a href="{{ url('wizard/taxes') }}" id="wizard-skip" class="btn btn-white header-button-top" @click="next">
<span class="fas fa-arrow-right"></span> &nbsp;{{ trans('general.skip') }}
<a href="{{ url('wizard/taxes') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top">
<span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span>
<span class="btn-inner--text">{{ trans('general.skip') }}</span>
</a>
</div>
</div>

View File

@ -50,13 +50,15 @@
<div class="card-footer">
<div class="row">
<div class="col-sm-6">
<a href="{{ url('wizard/taxes') }}" class="btn btn-white header-button-top">
<span class="fas fa-arrow-left"></span> &nbsp;{{ trans('modules.back') }}
<a href="{{ url('wizard/taxes') }}" class="btn btn-icon btn-white header-button-top">
<span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span>
<span class="btn-inner--text">{{ trans('modules.back') }}</span>
</a>
</div>
<div class="col-sm-6 text-right">
<a href="{{ url('/') }}" class="btn btn-success header-button-top" @click="next">
<span class="fa fa-tachometer-alt"></span> &nbsp;{{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}
<a href="{{ url('/') }}" id="wizard-skip" class="btn btn-icon btn-success header-button-top">
<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>
</div>
</div>

View File

@ -106,13 +106,15 @@
<div class="card-footer">
<div class="row">
<div class="col-sm-6">
<a href="{{ url('wizard/currencies') }}" class="btn btn-white header-button-top">
<span class="fas fa-arrow-left"></span> &nbsp;{{ trans('modules.back') }}
<a href="{{ url('wizard/currencies') }}" class="btn btn-icon btn-white header-button-top">
<span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span>
<span class="btn-inner--text">{{ trans('modules.back') }}</span>
</a>
</div>
<div class="col-sm-6 text-right">
<a href="{{ url('wizard/finish') }}" id="wizard-skip" class="btn btn-white header-button-top" @click="next">
<span class="fas fa-arrow-right"></span> &nbsp;{{ trans('general.skip') }}
<a href="{{ url('wizard/finish') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top">
<span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span>
<span class="btn-inner--text">{{ trans('general.skip') }}</span>
</a>
</div>
</div>