2023-05-22 20:30:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Livewire\Project\Application;
|
|
|
|
|
|
|
|
use App\Models\Application;
|
|
|
|
use Livewire\Component;
|
|
|
|
|
|
|
|
class Status extends Component
|
|
|
|
{
|
|
|
|
public Application $application;
|
2023-05-24 12:26:50 +00:00
|
|
|
|
2023-05-31 10:38:36 +00:00
|
|
|
public function applicationStatusChanged()
|
2023-05-22 20:30:33 +00:00
|
|
|
{
|
2023-05-31 10:38:36 +00:00
|
|
|
$this->emit('applicationStatusChanged');
|
2023-05-22 20:30:33 +00:00
|
|
|
$this->application->refresh();
|
|
|
|
}
|
|
|
|
}
|