<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\CustomAuthController;

Route::resource("/", App\Http\Controllers\Capture\HomeController::class);
Route::resource("home", App\Http\Controllers\Capture\HomeController::class);
Route::resource("login", App\Http\Controllers\Capture\LoginController::class);
Route::resource("capture", App\Http\Controllers\Capture\CaptureController::class);
Route::resource("procedure", App\Http\Controllers\Capture\ProcedureController::class);
Route::resource("report", App\Http\Controllers\Capture\ReportController::class);
Route::resource("history", App\Http\Controllers\Capture\HistoryController::class);
Route::resource("analysis", App\Http\Controllers\Capture\AnalysisController::class);
Route::resource("exportdata", App\Http\Controllers\Capture\ExportdataController::class);
Route::resource("patient", App\Http\Controllers\Capture\PatientController::class);
Route::resource("registration", App\Http\Controllers\Capture\RegistrationController::class);
Route::resource("loadpic", App\Http\Controllers\Capture\loadpicController::class);
Route::resource("upload", App\Http\Controllers\Capture\SelfuploadController::class);
Route::resource("imagesort", App\Http\Controllers\Capture\ImageSortController::class);
Route::resource("photomove", App\Http\Controllers\Capture\PhotomoveController::class);
Route::resource("crop", App\Http\Controllers\Capture\CropController::class);
Route::resource("cameracapvdo", App\Http\Controllers\Capture\CameraCapVDOController::class);
Route::resource("esign", App\Http\Controllers\Capture\EsignController::class);
Route::resource("casehistory", App\Http\Controllers\Capture\CasehistoryController::class);
Route::resource("loadpic2servercapture", App\Http\Controllers\Capture\LoadPic2ServerCaptureController::class);



Route::get("bookexport",                      function () {return view('capture.historytaking');});
Route::get("bookexport",                      function () {return view('capture.historytaking');});
Route::get("esignnew",                      function () {return view('capture.esign_shownew');});
Route::post('logout',                   [CustomAuthController::class, 'logoutcapture'])->name('logoutcapture');
