diff --git a/app/Mail/InvoiceDataMail.php b/app/Mail/InvoiceDataMail.php
index 445b0c6..e57edbc 100644
--- a/app/Mail/InvoiceDataMail.php
+++ b/app/Mail/InvoiceDataMail.php
@@ -41,12 +41,12 @@ class InvoiceDataMail extends Mailable
*/
public function content(): Content
{
- $greeting = "Dear Sir/Madam,
Kindly find the attached invoice pending report status,";
+ $greeting = 'Dear Sir/Madam,
We are sending here with list of "Despatch pending sale invoice & STO invoice as on date"';
if ($this->scheduleType == 'Daily') {
$fromDate = (new DateTime('yesterday 10:00'))->format('d/m/Y H:i') . ':000';//08:00
$toDate = (new DateTime('today 09:59'))->format('d/m/Y H:i') . ':999';//07:59
- $reportPeriod = "The following report presents results from: $fromDate to $toDate.";
+ $reportPeriod = "from: $fromDate to $toDate.
Please arrange to despatch the same immediately.";
$greeting .= $reportPeriod;
}
@@ -55,14 +55,14 @@ class InvoiceDataMail extends Mailable
$fromHour = $now->copy()->subHour()->format('H:i:s');
$toHour = $now->format('H:i:s');
$reportDate = $now->format('d/m/Y');
- $greeting .= "The following report presents results from: $reportDate, $fromHour to $toHour.";
+ $greeting .= "from: $reportDate, $fromHour to $toHour.
Please arrange to despatch the same immediately.";
}
if ($this->scheduleType == 'Live') {
$now = now();
$fromMinute = $now->copy()->subMinute()->format('d/m/Y H:i:s');
$toMinute = $now->format('d/m/Y H:i:s');
- $greeting .= "The following report presents results from: $fromMinute to $toMinute.";
+ $greeting .= "from: $fromMinute to $toMinute.
Please arrange to despatch the same immediately.";
}
return new Content(