Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
app
/
Http
/
Controllers
/
V1
/
Customer
:
SendEstimateController-20250331020853.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace App\Http\Controllers\V1\Admin\Estimate; use App\Http\Controllers\Controller; use App\Http\Requests\SendEstimatesRequest; use App\Models\Estimate; class SendEstimateController extends Controller { /** * Handle the incoming request. * * @return \Illuminate\Http\JsonResponse */ public function __invoke(SendEstimatesRequest $request, Estimate $estimate) { $this->authorize('send estimate', $estimate); $response = $estimate->send($request->all()); return response()->json($response); } }