Total Complexity | 4 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class CustomerIdController extends Controller |
||
15 | { |
||
16 | /** |
||
17 | * Search parameter to select which ID to change |
||
18 | */ |
||
19 | 2 | public function index() |
|
20 | { |
||
21 | 2 | $this->authorize('manage', Customer::class); |
|
22 | |||
23 | 1 | return Inertia::render('Customer/changeId'); |
|
24 | } |
||
25 | |||
26 | /** |
||
27 | * Show the Change ID Form |
||
28 | */ |
||
29 | 2 | public function edit($id) |
|
35 | ]); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Submit the Change ID Form |
||
40 | */ |
||
41 | 1 | public function update(CustIdRequest $request, $id) |
|
59 |