skip to Main Content

why can't orderby desc and asc work? in laravel

example image data : when the js responds, the data has already been ordered by example image response js : example controller and query : $query = Verifikasi_tte::join('surat_ttes', 'surat_ttes.id', '=', 'verifikasi_ttes.surat_tte_id') ->join('users', 'users.id', '=', 'surat_ttes.user_id') ->join('jenis_surat_ttes', 'jenis_surat_ttes.id', '=', 'surat_ttes.jenis_surat_tte_id') ->select('surat_ttes.id','surat_ttes.klasifikasi','surat_ttes.no_surat','surat_ttes.tgl_surat','surat_ttes.created_at',…

VIEW QUESTION

get the value of an input in laravel for a route

i have an input called id and i want to specify the button path for that id example: in my blade file <div class="modal-body"> <lable for="">ID:</lable><br/> <input type="text" name="id" placeholder="Enter the product name" required><br/> </div> <div class="modal-footer"> <button type="button" class="btn…

VIEW QUESTION

Select Option (for dropdown) Laravel

I make a dropdown for a form, I will show the code below. However, when I click the submit button, there is an error saying, SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'brand' cannot be null (SQL: insert into supplier_details. The…

VIEW QUESTION

I am trying to run npm run dev while installing auth ui in laravel – PHP Versions

Error: Cannot find module 'F:vitebinvite.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } npm ERR! code 1 npm ERR! path F:A. WEB DESIGN & DEVELOPMENTMy ProjectsSAIMUMsaimum npm ERR! command…

VIEW QUESTION
Back To Top
Search