update
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Mail;
|
||||
use App\Enums\Invoice\InvoiceStatus;
|
||||
use App\Models\Invoice;
|
||||
use App\Services\InvoicePaymentService;
|
||||
use App\Support\EmailTemplateShell;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Mail\Mailables\Attachment;
|
||||
@@ -113,10 +114,8 @@ class InvoiceNotificationMail extends TemplateMailable
|
||||
return '';
|
||||
}
|
||||
|
||||
return '<tr><td style="padding: 7px 11px; border-right: 1px solid #e8e8e8;">Đã thanh toán:</td><td style="padding: 7px 11px;"><strong style="color: #059669;">'
|
||||
. number_format($paid, 0, ',', '.') . ' VNĐ</strong></td></tr>'
|
||||
. '<tr bgcolor="#FFF1E6"><td style="padding: 7px 11px; border-right: 1px solid #e8e8e8;">Còn thiếu:</td><td style="padding: 7px 11px;"><strong style="color: #dc2626;">'
|
||||
. number_format($outstanding, 0, ',', '.') . ' VNĐ</strong></td></tr>';
|
||||
return EmailTemplateShell::row('Đã thanh toán', '<span style="color: #059669;">' . number_format($paid, 0, ',', '.') . ' VNĐ</span>')
|
||||
. EmailTemplateShell::row('Còn thiếu', '<span style="color: #dc2626;">' . number_format($outstanding, 0, ',', '.') . ' VNĐ</span>');
|
||||
}
|
||||
|
||||
private function payButton(): string
|
||||
|
||||
Reference in New Issue
Block a user