skip to Main Content

Postgresql – Select joined table with same column name but different value using eloquent

I'm trying to call 2 columns from 2 different tables. applicants.ic_no and agents.ic_no. It have different values. Using the following codes only displayed only ic_no from agents.ic_no $claimLists = ClaimDetail::join('applicants', 'applicants.ic_no', '=', 'claim_details.ic_no') ->join('agents', 'agents.id', '=', 'claim_details.agent_id') ->where('claim_date', $cutt_off) ->groupBy('agents.id',…

VIEW QUESTION

laravel 9 crud user hash password – Telegram API

I made a crud user but I have a problem with the password hashing. @extends('superadmin.layouts.app') @section('content') <div class="container-fluid"> <div class="row"> <!-- left column --> <div class="col-md-12"> <!-- general form elements --> <div class="card card-primary"> <div class="card-header"> <h3 class="card-title">New User</h3> </div>…

VIEW QUESTION
Back To Top
Search