SettingController.php 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. namespace App\Http\Controllers;
  3. use App\Models\Company;
  4. use App\Models\Ppn;
  5. use Illuminate\Http\Request;
  6. class SettingController extends Controller
  7. {
  8. /**
  9. * Display a listing of the resource.
  10. *
  11. * @return \Illuminate\Http\Response
  12. */
  13. public function index()
  14. {
  15. return inertia("Settings/Index", [
  16. "ppn" => Ppn::first(),
  17. "company" => Company::first(),
  18. ]);
  19. }
  20. /**
  21. * Show the form for creating a new resource.
  22. *
  23. * @return \Illuminate\Http\Response
  24. */
  25. public function create()
  26. {
  27. //
  28. }
  29. /**
  30. * Store a newly created resource in storage.
  31. *
  32. * @param \Illuminate\Http\Request $request
  33. * @return \Illuminate\Http\Response
  34. */
  35. public function store(Request $request)
  36. {
  37. //
  38. }
  39. /**
  40. * Display the specified resource.
  41. *
  42. * @param int $id
  43. * @return \Illuminate\Http\Response
  44. */
  45. public function show($id)
  46. {
  47. //
  48. }
  49. /**
  50. * Show the form for editing the specified resource.
  51. *
  52. * @param int $id
  53. * @return \Illuminate\Http\Response
  54. */
  55. public function edit($id)
  56. {
  57. //
  58. }
  59. /**
  60. * Update the specified resource in storage.
  61. *
  62. * @param \Illuminate\Http\Request $request
  63. * @param int $id
  64. * @return \Illuminate\Http\Response
  65. */
  66. public function update(Request $request, $id)
  67. {
  68. //
  69. }
  70. /**
  71. * Remove the specified resource from storage.
  72. *
  73. * @param int $id
  74. * @return \Illuminate\Http\Response
  75. */
  76. public function destroy($id)
  77. {
  78. //
  79. }
  80. }