add role penilai, add description marhun, fix registration,
This commit is contained in:
@@ -51,7 +51,7 @@ class AuthController extends Controller
|
||||
$user->notelbimbit = $fields['notelbimbit'];
|
||||
$user->register_agree = $fields['register_agree'];
|
||||
$user->t_daftar = $currentdate;
|
||||
$user->status = 'inprogress';
|
||||
$user->status = 'active';
|
||||
$user->user_type = 2; //type 2 = pembida
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ use App\Models\Cawangan;
|
||||
use App\Models\Resit;
|
||||
use App\Models\FileResit;
|
||||
use App\Models\Invoice;
|
||||
use App\Models\JenisEmas;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
|
||||
@@ -351,7 +352,11 @@ class LelongMobileController extends Controller
|
||||
|
||||
$lelongbid = LelongBid::where('id', $data)->first()->toArray();
|
||||
$lelongbidmarhun = LelongBidMarhun::where('lelongbid_id', $lelongbid['id'])->get()->toArray();
|
||||
|
||||
foreach ($lelongbidmarhun as $index1 => $marhun) {
|
||||
$marhunDesc = JenisEmas::where('marhun', $marhun['marhun'])->first()->toArray();
|
||||
$lelongbidmarhun[$index1]['marhun_desc'] = $marhunDesc['descpt'];
|
||||
}
|
||||
|
||||
$lelongbid['lelongbidmarhun'] = $lelongbidmarhun;
|
||||
|
||||
array_push($listLelong, $lelongbid);
|
||||
|
||||
Reference in New Issue
Block a user