import bank record

This commit is contained in:
Omair Saleh
2023-03-13 01:46:52 +08:00
parent 106252897f
commit be2ce85de1
@@ -36,6 +36,7 @@ class ImportsBankRecord implements ToModel, WithHeadingRow, WithBatchInserts, Wi
$systemReference = $transaction->pluck('owner.marking')->flatten()->implode(', ');
}
$matches = $systemReference === $row['remarkreferences'] ? 'Yes' : 'No';
echo '<tr>
<td>'.$date->format('d-m-Y').'</td>
@@ -43,7 +44,7 @@ class ImportsBankRecord implements ToModel, WithHeadingRow, WithBatchInserts, Wi
<td>'.$credit.'</td>
<td>'.$systemReference.'</td>
<td>'.$row['remarkreferences'].'</td>
<td>'.($systemReference === $row['remarkreferences']) ? 'true':'false'.'</td>
<td>'.$matches.'</td>
</tr>';
// dump([
// 'date' => $date->format('d-m-Y'),