->latest()
на ->oldest()
и это поменяет порядок. <header>
и <footer>
{
border: 5px #CCC;
}
public function toArray($request)
{
return [
'id' => $this->id,
'name' => $this->name,
'specialities' => SpecialityResource::collection($this->whenLoaded('activeSpecialities')),
];
}
public function toArray($request)
{
return [
'user' => UserResource::make($this->whenLoaded('user')),
'special_price' => $this->special_price,
];
}
var sendAddess = this.address
console.log(this.sendAddess)