Skip to content

Commit

Permalink
Ui design development
Browse files Browse the repository at this point in the history
  • Loading branch information
brkcvn committed May 26, 2021
1 parent 93ba76e commit 31e8d54
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
3 changes: 3 additions & 0 deletions resources/assets/js/mixins/spa-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export default {
this.model.select = item.code ? item.code : '';
}
},
handleClickCancel() {
this.currentTab = undefined;
},
dataHandleEvent() {
this.newDatas = false;
this.currentTab = undefined;
Expand Down
5 changes: 2 additions & 3 deletions resources/assets/js/views/wizard/Company.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,14 @@
></textarea>
</base-input>
</div>
<div class="col-6">
<base-input :label="translations.company.logo">
<div class="col-3">
<label class="form-control-label">{{ translations.company.logo }}</label>
<akaunting-dropzone-file-upload
ref="dropzoneWizard"
preview-classes="single"
:attachments="logo"
>
</akaunting-dropzone-file-upload>
</base-input>
</div>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions resources/assets/js/views/wizard/Currencies.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@
:error="onFailErrorGet('rate')"
/>
<div class="mt-4 col-md-3 current-tab-btn">
<base-button
type="white"
native-type="button"
@click="handleClickCancel()"
>
{{ translations.currencies.cancel }}</base-button
>
<base-button
type="success"
native-type="button"
Expand Down
7 changes: 7 additions & 0 deletions resources/assets/js/views/wizard/Taxes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@
:error="onFailErrorGet('rate')"
/>
<div class="mt-4 col-md-4 current-tab-btn">
<base-button
type="white"
native-type="button"
@click="handleClickCancel()"
>
{{ translations.taxes.cancel }}</base-button
>
<base-button
type="success"
native-type="button"
Expand Down

0 comments on commit 31e8d54

Please sign in to comment.