taxation module

This commit is contained in:
2024-04-16 10:54:23 +05:45
parent 6ae0143005
commit 442822e472
16 changed files with 433 additions and 47 deletions

View File

@ -2,6 +2,7 @@
namespace Modules\Employee\Repositories;
use Illuminate\Support\Facades\DB;
use Modules\Employee\Models\Employee;
class EmployeeRepository implements EmployeeInterface
@ -38,7 +39,7 @@ class EmployeeRepository implements EmployeeInterface
public function pluck()
{
return Employee::pluck('first_name', 'id');
return Employee::pluck(DB::raw('CONCAT(first_name," ", middle_name , " ",last_name) AS full_name'), 'id');
}
// public function uploadImage($file)