feat: added date and time for remarks

This commit is contained in:
Dodowingster
2024-04-25 15:52:38 +08:00
parent 29507f5120
commit 32d8b26451
+3 -1
View File
@@ -1009,7 +1009,9 @@ Route::get('/show-white-form-transactions-in-date-range/{from_date}/{to_date}',
$remarks = $approvedTransaction->remarks;
echo '<td style="border: 1px solid black;">';
foreach ($remarks as $remark) {
echo "<p>$remark->content</p>";
echo $remark->created_at->format('d-m-Y | h:i A') . ' - ';
echo $remark->content;
echo '<br>';
}
echo '</td>';
echo '<td style="border: 1px solid black;">' ;