Ticket Controller remove duplicated soce on sticket store with model event
This commit is contained in:
parent
db4d33211a
commit
1766f53827
1 changed files with 0 additions and 4 deletions
|
|
@ -165,10 +165,6 @@ class TicketController extends Controller
|
|||
$ticket->file2 = Ticket::saveFile($site, $ticket, $ticket->type, $request->file_ticket2);
|
||||
}
|
||||
|
||||
if ($request->type === TicketType::evolution()) {
|
||||
$ticket->status = TicketStatus::estimateTodo();
|
||||
}
|
||||
|
||||
$ticket->user()->associate(auth()->user());
|
||||
$ticket->saveOrFail();
|
||||
/** @var \App\Models\User */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue