Fixes requested by IceToast
This commit is contained in:
parent
86716961f3
commit
75c550e0c1
|
@ -57,12 +57,12 @@ class InvoiceNotification extends Notification
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->subject('Your Payment was successful!')
|
->subject('Your Payment was successful!')
|
||||||
->greeting('Hello,')
|
->greeting('Hello,')
|
||||||
->line("Your payment was processes!.")
|
->line("your payment was processed successfully!")
|
||||||
->line('Status: ' . $this->payment->status)
|
->line('Status: ' . $this->payment->status)
|
||||||
->line('Price: ' . $this->payment->formatToCurrency($this->payment->total_price))
|
->line('Price: ' . $this->payment->formatToCurrency($this->payment->total_price))
|
||||||
->line('Type: ' . $this->payment->type)
|
->line('Type: ' . $this->payment->type)
|
||||||
->line('Amount: ' . $this->payment->amount)
|
->line('Amount: ' . $this->payment->amount)
|
||||||
->line('Balance: ' . $this->user->credits)
|
->line('Balance: ' . number_format($this->user->credits,2))
|
||||||
->line('User ID: ' . $this->payment->user_id)
|
->line('User ID: ' . $this->payment->user_id)
|
||||||
->attach(storage_path('app/invoice/' . $this->user->id . '/' . now()->format('Y') . '/' . $this->invoice->filename));
|
->attach(storage_path('app/invoice/' . $this->user->id . '/' . now()->format('Y') . '/' . $this->invoice->filename));
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,7 +168,7 @@
|
||||||
<!-- logo -->
|
<!-- logo -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="custom-file mb-3">
|
<div class="custom-file mb-3">
|
||||||
<input type="file" accept="image/x-icon" class="custom-file-input"
|
<input type="file" accept="image/png,image/jpeg,image/jpg" class="custom-file-input"
|
||||||
name="logo" id="logo">
|
name="logo" id="logo">
|
||||||
<label class="custom-file-label selected"
|
<label class="custom-file-label selected"
|
||||||
for="favicon">{{__('Select Invoice Logo')}}</label>
|
for="favicon">{{__('Select Invoice Logo')}}</label>
|
||||||
|
|
|
@ -125,6 +125,9 @@
|
||||||
.cool-gray {
|
.cool-gray {
|
||||||
color: #6B7280;
|
color: #6B7280;
|
||||||
}
|
}
|
||||||
|
.cool-green {
|
||||||
|
color: #308d00;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -140,12 +143,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="border-0 pl-0" width="70%">
|
<td class="border-0 pl-0" width="70%">
|
||||||
<h4 class="text-uppercase">
|
<h4 class="text-uppercase">
|
||||||
<strong>{{ $invoice->name }}</strong> {{$invoice->getSerialNumber()}}
|
<strong>{{ $invoice->name }} {{$invoice->getSerialNumber()}}</strong>
|
||||||
</h4>
|
</h4>
|
||||||
</td>
|
</td>
|
||||||
<td class="border-0 pl-0">
|
<td class="border-0 pl-0">
|
||||||
@if($invoice->status)
|
@if($invoice->status)
|
||||||
<h4 class="text-uppercase cool-gray">
|
<h4 class="text-uppercase cool-green">
|
||||||
<strong>{{ $invoice->status }}</strong>
|
<strong>{{ $invoice->status }}</strong>
|
||||||
</h4>
|
</h4>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue