Updated ticket status when answer estimation is submitted
This commit is contained in:
parent
78c80b9b38
commit
4d37a18bae
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class EstimationController extends Controller
|
|||
/** @var \App\Models\Credit\Estimation */
|
||||
$estimation = $ticket->estimation;
|
||||
if ($request->answer) {
|
||||
$ticket->status = TicketStatus::toPlan();
|
||||
$ticket->status = TicketStatus::takenInAccount();
|
||||
$estimation->status = EstimationStatus::accepted();
|
||||
} else {
|
||||
$ticket->status = TicketStatus::archived();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue