diff --git a/app/Notifications/InvoiceNotification.php b/app/Notifications/InvoiceNotification.php index 78408ae2..65f8ea0d 100644 --- a/app/Notifications/InvoiceNotification.php +++ b/app/Notifications/InvoiceNotification.php @@ -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)); } diff --git a/resources/views/admin/settings/index.blade.php b/resources/views/admin/settings/index.blade.php index c8e6ee29..9639dd32 100644 --- a/resources/views/admin/settings/index.blade.php +++ b/resources/views/admin/settings/index.blade.php @@ -168,7 +168,7 @@
- diff --git a/resources/views/vendor/invoices/templates/default.blade.php b/resources/views/vendor/invoices/templates/default.blade.php index deaaf97a..f86f5bba 100644 --- a/resources/views/vendor/invoices/templates/default.blade.php +++ b/resources/views/vendor/invoices/templates/default.blade.php @@ -125,6 +125,9 @@ .cool-gray { color: #6B7280; } + .cool-green { + color: #308d00; + } @@ -140,12 +143,12 @@

- {{ $invoice->name }} {{$invoice->getSerialNumber()}} + {{ $invoice->name }} {{$invoice->getSerialNumber()}}

@if($invoice->status) -

+

{{ $invoice->status }}

@endif