Fixes requested by IceToast

This commit is contained in:
1Day 2021-12-02 12:01:11 +01:00
parent 86716961f3
commit 75c550e0c1
3 changed files with 8 additions and 5 deletions

View file

@ -57,12 +57,12 @@ class InvoiceNotification extends Notification
return (new MailMessage)
->subject('Your Payment was successful!')
->greeting('Hello,')
->line("Your payment was processes!.")
->line("your payment was processed successfully!")
->line('Status: ' . $this->payment->status)
->line('Price: ' . $this->payment->formatToCurrency($this->payment->total_price))
->line('Type: ' . $this->payment->type)
->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)
->attach(storage_path('app/invoice/' . $this->user->id . '/' . now()->format('Y') . '/' . $this->invoice->filename));
}

View file

@ -168,7 +168,7 @@
<!-- logo -->
<div class="form-group">
<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">
<label class="custom-file-label selected"
for="favicon">{{__('Select Invoice Logo')}}</label>

View file

@ -125,6 +125,9 @@
.cool-gray {
color: #6B7280;
}
.cool-green {
color: #308d00;
}
</style>
</head>
@ -140,12 +143,12 @@
<tr>
<td class="border-0 pl-0" width="70%">
<h4 class="text-uppercase">
<strong>{{ $invoice->name }}</strong> {{$invoice->getSerialNumber()}}
<strong>{{ $invoice->name }} {{$invoice->getSerialNumber()}}</strong>
</h4>
</td>
<td class="border-0 pl-0">
@if($invoice->status)
<h4 class="text-uppercase cool-gray">
<h4 class="text-uppercase cool-green">
<strong>{{ $invoice->status }}</strong>
</h4>
@endif