diff --git a/.env.example b/.env.example
index 2a857245..330a9e3f 100644
--- a/.env.example
+++ b/.env.example
@@ -21,11 +21,11 @@ REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
-MAIL_HOST=mailtrap.io
-MAIL_PORT=2525
-MAIL_USERNAME=null
-MAIL_PASSWORD=null
-MAIL_ENCRYPTION=null
+MAIL_HOST=
+MAIL_PORT=
+MAIL_USERNAME=
+MAIL_PASSWORD=
+MAIL_ENCRYPTION=
PUSHER_APP_ID=
PUSHER_KEY=
diff --git a/public/assets/icon/file-alt-solid.svg b/public/assets/icon/file-alt-solid.svg
new file mode 100644
index 00000000..54514914
--- /dev/null
+++ b/public/assets/icon/file-alt-solid.svg
@@ -0,0 +1,13 @@
+
diff --git a/resources/assets/js/views/dashboard/Dashboard.vue b/resources/assets/js/views/dashboard/Dashboard.vue
index fac1dfd0..24f1f261 100644
--- a/resources/assets/js/views/dashboard/Dashboard.vue
+++ b/resources/assets/js/views/dashboard/Dashboard.vue
@@ -168,12 +168,12 @@
>
-
- {{ $t('invoices.status') }}
+ {{ $t('invoices.status') }}
{{ (row.status != 'PARTIALLY_PAID')? row.status : row.status.replace('_', ' ') }}
@@ -190,7 +190,7 @@
>
-
+
@@ -203,14 +203,14 @@
{{ $t('invoices.view') }}
-
-
+
+
{{ $t('invoices.send_invoice') }}
-
+
{{ $t('invoices.mark_as_sent') }}
@@ -272,7 +272,7 @@
>
-
+
@@ -294,35 +294,35 @@
-
-
+
+
{{ $t('estimates.convert_to_invoice') }}
-
+
{{ $t('estimates.mark_as_sent') }}
-
+
{{ $t('estimates.send_estimate') }}
-
+
{{ $t('estimates.mark_as_accepted') }}
-
-
-
- {{ $t('estimates.mark_as_rejected') }}
-
-
+
+
+
+ {{ $t('estimates.mark_as_rejected') }}
+
+
@@ -459,7 +459,7 @@ export default {
swal({
title: this.$t('general.are_you_sure'),
text: this.$t('estimates.confirm_conversion'),
- icon: '/assets/icon/envelope-solid.svg',
+ icon: '/assets/icon/file-alt-solid.svg',
buttons: true,
dangerMode: true
}).then(async (willDelete) => {
@@ -603,7 +603,7 @@ export default {
}
})
},
-
+
async sendEstimate (id) {
swal({
title: this.$t('general.are_you_sure'),
diff --git a/resources/assets/js/views/estimates/Index.vue b/resources/assets/js/views/estimates/Index.vue
index 736a89a3..9b826daa 100644
--- a/resources/assets/js/views/estimates/Index.vue
+++ b/resources/assets/js/views/estimates/Index.vue
@@ -245,31 +245,31 @@
-
-
+
+
{{ $t('estimates.convert_to_invoice') }}
-
+
{{ $t('estimates.mark_as_sent') }}
-
+
{{ $t('estimates.send_estimate') }}
-
+
{{ $t('estimates.mark_as_accepted') }}
-
+
{{ $t('estimates.mark_as_rejected') }}
@@ -424,7 +424,7 @@ export default {
let response = await this.markAsAccepted(data)
this.refreshTable()
if (response.data) {
- this.filters.status = 'ACCEPTED'
+ this.filters.status = ''
this.$refs.table.refresh()
window.toastr['success'](this.$tc('estimates.marked_as_accepted_message'))
}
@@ -446,7 +446,7 @@ export default {
let response = await this.markAsRejected(data)
this.refreshTable()
if (response.data) {
- this.filters.status = 'REJECTED'
+ this.filters.status = ''
this.$refs.table.refresh()
window.toastr['success'](this.$tc('estimates.marked_as_rejected_message'))
}
@@ -512,7 +512,7 @@ export default {
swal({
title: this.$t('general.are_you_sure'),
text: this.$t('estimates.confirm_conversion'),
- icon: '/assets/icon/envelope-solid.svg',
+ icon: '/assets/icon/file-alt-solid.svg',
buttons: true,
dangerMode: true
}).then(async (willConvertInToinvoice) => {
diff --git a/resources/assets/js/views/invoices/Index.vue b/resources/assets/js/views/invoices/Index.vue
index 461f4deb..51db97bf 100644
--- a/resources/assets/js/views/invoices/Index.vue
+++ b/resources/assets/js/views/invoices/Index.vue
@@ -248,13 +248,13 @@
-
+
{{ $t('invoices.send_invoice') }}
-
+
{{ $t('invoices.mark_as_sent') }}
diff --git a/resources/assets/js/views/payments/Create.vue b/resources/assets/js/views/payments/Create.vue
index 4d61b776..1a0bea01 100644
--- a/resources/assets/js/views/payments/Create.vue
+++ b/resources/assets/js/views/payments/Create.vue
@@ -166,7 +166,7 @@ export default {
user_id: null,
payment_number: null,
payment_date: null,
- amount: 100,
+ amount: 0,
payment_mode: null,
invoice_id: null,
notes: null
diff --git a/resources/assets/js/views/settings/MailConfig.vue b/resources/assets/js/views/settings/MailConfig.vue
index afbf481b..86a92fa9 100644
--- a/resources/assets/js/views/settings/MailConfig.vue
+++ b/resources/assets/js/views/settings/MailConfig.vue
@@ -142,7 +142,7 @@ export default {
data () {
return {
mailConfigData: {
- mail_driver: '',
+ mail_driver: 'smtp',
mail_host: '',
mail_port: null,
mail_username: '',
diff --git a/resources/assets/js/views/wizard/EmailConfiguration.vue b/resources/assets/js/views/wizard/EmailConfiguration.vue
index ecc92ad5..49be7e7e 100644
--- a/resources/assets/js/views/wizard/EmailConfiguration.vue
+++ b/resources/assets/js/views/wizard/EmailConfiguration.vue
@@ -148,7 +148,7 @@ export default {
return {
mailConfigData: {
mail_driver: 'smtp',
- mail_host: 'mailtrap.io',
+ mail_host: '',
mail_port: null,
mail_username: null,
mail_password: null,