Merge branch 'master' into refactor-new-issues

This commit is contained in:
Mohit Panjwani
2020-05-30 21:36:49 +05:30
5 changed files with 11 additions and 5 deletions

View File

@ -128,6 +128,14 @@ export default {
},
checkValidUrl(url) {
if (
url.includes('http://localhost') ||
url.includes('http://127.0.0.1') ||
url.includes('https://localhost') ||
url.includes('https://127.0.0.1')
) {
return true
}
let pattern = new RegExp(
'^(https?:\\/\\/)?' + // protocol
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name

View File

@ -16,7 +16,7 @@
{{-- Subcopy --}}
@slot('subcopy')
@component('mail::subcopy')
You have received a new estimate from <span class="company-name">{{$data['company']['name']}}</span>
You have received a new estimate from <b>{{$data['company']['name']}}</b>
@component('mail::button', ['url' => url('/customer/estimates/pdf/'.$data['estimate']['unique_hash'])])
View Estimate
@endcomponent

View File

@ -16,7 +16,7 @@
{{-- Subcopy --}}
@slot('subcopy')
@component('mail::subcopy')
You have received a new invoice from <span class="company-name">{{$data['company']['name']}}</span>
You have received a new invoice from <b>{{$data['company']['name']}}</b>
@component('mail::button', ['url' => url('/customer/invoices/pdf/'.$data['invoice']['unique_hash'])])
View Invoice
@endcomponent

View File

@ -16,7 +16,7 @@
{{-- Subcopy --}}
@slot('subcopy')
@component('mail::subcopy')
You have received a new payment from <span class="company-name">{{$data['company']['name']}}</span>
You have received a new payment from <b>{{$data['company']['name']}}</b>
@component('mail::button', ['url' => url('/payments/pdf/'.$data['payment']['unique_hash'])])
View Payment
@endcomponent

View File

@ -158,8 +158,6 @@ img {
}
.subcopy p {
display: flex;
justify-content: center;
text-align: center;
font-size: 20px;
}