|
|
@@ -1870,6 +1870,7 @@ Route::get('/get_receipts', function () {
|
|
|
'receipts.year',
|
|
|
'receipts.number',
|
|
|
'receipts.status',
|
|
|
+ 'receipts.date',
|
|
|
'receipts.created_at',
|
|
|
'receipts.record_id',
|
|
|
'members.first_name',
|
|
|
@@ -1929,7 +1930,8 @@ Route::get('/get_receipts', function () {
|
|
|
'last_name' => $r->last_name ?? '',
|
|
|
'first_name' => $r->first_name ?? '',
|
|
|
'status' => $r->status,
|
|
|
- 'date' => date("d/m/Y", strtotime($r->created_at)),
|
|
|
+ 'date' => date("d/m/Y", strtotime($r->date)),
|
|
|
+ 'created_at' => date("d/m/Y", strtotime($r->created_at)),
|
|
|
'totals' => formatPrice($r->totals),
|
|
|
'action' => $ids
|
|
|
);
|