add reporting for download history import mapped invoice and receipt and with fix bug

This commit is contained in:
Steve Ng
2023-12-27 13:47:12 +08:00
parent 18ea70ccd6
commit ca07fc161e
25 changed files with 827 additions and 24 deletions
@@ -0,0 +1,23 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class TransactionMappingLogResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
return [
'id' => $this->id,
'imported_date' => $this->imported_date,
'type' => $this->type
];
}
}