multiple invoices with one payment SDEV-421

This commit is contained in:
94924240Jeko!
2022-12-20 21:14:09 +03:00
commit c73e86e2cf
1700 changed files with 111993 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class UserResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
return [
'id' => $this->id,
'name' => $this->name,
'email' => $this->email,
'type' => (int) $this->type,
'status' => (int) $this->status
];
}
}