mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-30 18:04:05 +00:00
WIP - Order steps & remaining APIs
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Resources;
|
||||
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
|
||||
class ContainerPackingListResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'packing_list_id' => $this->packing_list_id,
|
||||
'container_reference' => $this->container_reference,
|
||||
'container_type' => $this->container_type,
|
||||
'seal_reference' => $this->seal_reference,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user