Membuat tampilan menu master ijin usaha
This commit is contained in:
166
app/Http/Controllers/IjinUsahaController.php
Normal file
166
app/Http/Controllers/IjinUsahaController.php
Normal file
@@ -0,0 +1,166 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Modules\Lpj\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Exception;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Http\Response;
|
||||||
|
use Modules\Lpj\Http\Requests\IjinUsahaRequest;
|
||||||
|
use Modules\Lpj\Models\IjinUsaha;
|
||||||
|
|
||||||
|
class IjinUsahaController extends Controller
|
||||||
|
{
|
||||||
|
public $user;
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
return view('lpj::Ijin_usaha.index');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
return view('lpj::Ijin_usaha.create');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*/
|
||||||
|
public function store(IjinUsahaRequest $request)
|
||||||
|
{
|
||||||
|
$validate = $request->validated();
|
||||||
|
|
||||||
|
if ($validate) {
|
||||||
|
try {
|
||||||
|
IjinUsaha::create($validate);
|
||||||
|
return redirect()
|
||||||
|
->route('basicdata.ijin_usaha.index')
|
||||||
|
->with('success', 'Ijin Usaha created successfully');
|
||||||
|
} catch (Exception $e) {
|
||||||
|
return redirect()
|
||||||
|
->route('basicdata.ijin_usaha.create')
|
||||||
|
->with('error', 'Failed to create ijin Usaha');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the specified resource.
|
||||||
|
*/
|
||||||
|
public function show($id)
|
||||||
|
{
|
||||||
|
// return view('lpj::show');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*/
|
||||||
|
public function edit($id)
|
||||||
|
{
|
||||||
|
$ijin_usaha = IjinUsaha::find($id);
|
||||||
|
return view('lpj::Ijin_usaha.create', compact('ijin_usaha'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*/
|
||||||
|
public function update(IjinUsahaRequest $request, $id)
|
||||||
|
{
|
||||||
|
$validate = $request->validated();
|
||||||
|
|
||||||
|
if ($validate) {
|
||||||
|
try {
|
||||||
|
// Update in database
|
||||||
|
$ijin_usaha = IjinUsaha::find($id);
|
||||||
|
$ijin_usaha->update($validate);
|
||||||
|
return redirect()
|
||||||
|
->route('basicdata.ijin_usaha.index')
|
||||||
|
->with('success', 'Ijin Usaha updated successfully');
|
||||||
|
} catch (Exception $e) {
|
||||||
|
return redirect()
|
||||||
|
->route('basicdata.ijin_usaha.edit', $id)
|
||||||
|
->with('error', 'Failed to update ijin$ijin_usaha');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*/
|
||||||
|
public function destroy($id)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$ijin_usaha = IjinUsaha::find($id);
|
||||||
|
$ijin_usaha->delete();
|
||||||
|
|
||||||
|
echo json_encode(['success' => true, 'message' => 'Ijin Usaha deleted successfully']);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
echo json_encode(['success' => false, 'message' => 'Failed to delete Ijin Usaha']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function dataForDatatables(Request $request)
|
||||||
|
{
|
||||||
|
if (is_null($this->user) || !$this->user->can('Ijin_usaha.view')) {
|
||||||
|
//abort(403, 'Sorry! You are not allowed to view users.');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Retrieve data from the database
|
||||||
|
$query = IjinUsaha::query();
|
||||||
|
|
||||||
|
// Apply search filter if provided
|
||||||
|
if ($request->has('search') && !empty($request->get('search'))) {
|
||||||
|
$search = $request->get('search');
|
||||||
|
$query->where(function ($q) use ($search) {
|
||||||
|
$q->where('nama_ijin_usaha', 'LIKE', "%$search%");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply sorting if provided
|
||||||
|
if ($request->has('sortOrder') && !empty($request->get('sortOrder'))) {
|
||||||
|
$order = $request->get('sortOrder');
|
||||||
|
$column = $request->get('sortField');
|
||||||
|
$query->orderBy($column, $order);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get the total count of records
|
||||||
|
$totalRecords = $query->count();
|
||||||
|
|
||||||
|
// Apply pagination if provided
|
||||||
|
if ($request->has('page') && $request->has('size')) {
|
||||||
|
$page = $request->get('page');
|
||||||
|
$size = $request->get('size');
|
||||||
|
$offset = ($page - 1) * $size; // Calculate the offset
|
||||||
|
|
||||||
|
$query->skip($offset)->take($size);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get the filtered count of records
|
||||||
|
$filteredRecords = $query->count();
|
||||||
|
|
||||||
|
// Get the data for the current page
|
||||||
|
$data = $query->get();
|
||||||
|
|
||||||
|
// Calculate the page count
|
||||||
|
$pageCount = ceil($totalRecords / $request->get('size'));
|
||||||
|
|
||||||
|
// Calculate the current page number
|
||||||
|
$currentPage = 0 + 1;
|
||||||
|
|
||||||
|
// Return the response data as a JSON object
|
||||||
|
return response()->json([
|
||||||
|
'draw' => $request->get('draw'),
|
||||||
|
'recordsTotal' => $totalRecords,
|
||||||
|
'recordsFiltered' => $filteredRecords,
|
||||||
|
'pageCount' => $pageCount,
|
||||||
|
'page' => $currentPage,
|
||||||
|
'totalCount' => $totalRecords,
|
||||||
|
'data' => $data,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
135
app/Http/Controllers/KJPPController.php
Normal file
135
app/Http/Controllers/KJPPController.php
Normal file
@@ -0,0 +1,135 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Modules\Lpj\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Illuminate\Http\RedirectResponse;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Http\Response;
|
||||||
|
use Modules\Lpj\Models\KJPP;
|
||||||
|
|
||||||
|
class KJPPController extends Controller
|
||||||
|
{
|
||||||
|
public $user;
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
return view('lpj::kjpp.index');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
return view('lpj::create');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*/
|
||||||
|
public function store(Request $request): RedirectResponse
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the specified resource.
|
||||||
|
*/
|
||||||
|
public function show($id)
|
||||||
|
{
|
||||||
|
return view('lpj::show');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*/
|
||||||
|
public function edit($id)
|
||||||
|
{
|
||||||
|
return view('lpj::edit');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*/
|
||||||
|
public function update(Request $request, $id): RedirectResponse
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*/
|
||||||
|
public function destroy($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
public function dataForDatatables(Request $request)
|
||||||
|
{
|
||||||
|
if (is_null($this->user) || !$this->user->can('kjpp.view')) {
|
||||||
|
//abort(403, 'Sorry! You are not allowed to view users.');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Retrieve data from the database
|
||||||
|
$query = KJPP::query();
|
||||||
|
|
||||||
|
// Apply search filter if provided
|
||||||
|
if ($request->has('search') && !empty($request->get('search'))) {
|
||||||
|
$search = $request->get('search');
|
||||||
|
$query->where(function ($q) use ($search) {
|
||||||
|
$q->where('nomor', 'LIKE', "%$search%");
|
||||||
|
$q->orWhere('nama_kjpp', 'LIKE', "%$search%");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply sorting if provided
|
||||||
|
if ($request->has('sortOrder') && !empty($request->get('sortOrder'))) {
|
||||||
|
$order = $request->get('sortOrder');
|
||||||
|
$column = $request->get('sortField');
|
||||||
|
$query->orderBy($column, $order);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get the total count of records
|
||||||
|
$totalRecords = $query->count();
|
||||||
|
|
||||||
|
// Apply pagination if provided
|
||||||
|
if ($request->has('page') && $request->has('size')) {
|
||||||
|
$page = $request->get('page');
|
||||||
|
$size = $request->get('size');
|
||||||
|
$offset = ($page - 1) * $size; // Calculate the offset
|
||||||
|
|
||||||
|
$query->skip($offset)->take($size);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get the filtered count of records
|
||||||
|
$filteredRecords = $query->count();
|
||||||
|
|
||||||
|
// Get the data for the current page
|
||||||
|
$data = $query->get();
|
||||||
|
|
||||||
|
// Calculate the page count
|
||||||
|
$pageCount = ceil($totalRecords / $request->get('size'));
|
||||||
|
|
||||||
|
// Calculate the current page number
|
||||||
|
$currentPage = 0 + 1;
|
||||||
|
|
||||||
|
// Return the response data as a JSON object
|
||||||
|
return response()->json([
|
||||||
|
'draw' => $request->get('draw'),
|
||||||
|
'recordsTotal' => $totalRecords,
|
||||||
|
'recordsFiltered' => $filteredRecords,
|
||||||
|
'pageCount' => $pageCount,
|
||||||
|
'page' => $currentPage,
|
||||||
|
'totalCount' => $totalRecords,
|
||||||
|
'data' => $data,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function export()
|
||||||
|
{
|
||||||
|
// return Excel::download(new CurrencyExport, 'currency.xlsx');
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,6 +6,7 @@ use App\Http\Controllers\Controller;
|
|||||||
use Illuminate\Http\RedirectResponse;
|
use Illuminate\Http\RedirectResponse;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Http\Response;
|
use Illuminate\Http\Response;
|
||||||
|
use Modules\Lpj\Models\Penawaran;
|
||||||
|
|
||||||
class TenderController extends Controller
|
class TenderController extends Controller
|
||||||
{
|
{
|
||||||
@@ -17,36 +18,42 @@ class TenderController extends Controller
|
|||||||
return view('lpj::penawaran/index');
|
return view('lpj::penawaran/index');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function proses_penawaran_index()
|
|
||||||
{
|
|
||||||
return view('lpj::proses_penawaran/index');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function penawaran_ulang_index()
|
|
||||||
{
|
|
||||||
return view('lpj::penawaran_ulang/index');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the form for creating a new resource.
|
* Show the form for creating a new resource.
|
||||||
*/
|
*/
|
||||||
public function create()
|
public function penawaran_create()
|
||||||
{
|
{
|
||||||
return view('lpj::create');
|
return view('lpj::penawaran/create');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Store a newly created resource in storage.
|
* Store a newly created resource in storage.
|
||||||
*/
|
*/
|
||||||
public function store(Request $request): RedirectResponse
|
public function penawaran_store(Request $request): RedirectResponse
|
||||||
{
|
{
|
||||||
//
|
// $validated = $request->validate([
|
||||||
|
// 'nama_kjpp_sebelumnya' => 'required|string',
|
||||||
|
// 'biaya_kjpp_sebelumnya' => 'required|numeric',
|
||||||
|
// 'tgl_penilaian_sebelumnya' => 'required|date',
|
||||||
|
// 'nama_kjpp_1' => 'required|exists:kjpps,id',
|
||||||
|
// 'nama_kjpp_2' => 'required|exists:kjpps,id',
|
||||||
|
// 'nama_kjpp_3' => 'required|exists:kjpps,id',
|
||||||
|
// 'data_jaminan_legalitas' => 'required|string',
|
||||||
|
// 'tujuan_penilaian' => 'required|in:Penjaminan Hutang,Lelang,Revaluasi Aset',
|
||||||
|
// 'jenis_laporan' => 'required|in:Short report,Full report',
|
||||||
|
// 'batas_waktu' => 'required|date',
|
||||||
|
// 'catatan' => 'nullable|string'
|
||||||
|
// ]);
|
||||||
|
|
||||||
|
// Penawaran::create($validated);
|
||||||
|
|
||||||
|
// return redirect()->back()->with('success', 'Data berhasil disimpan!');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the specified resource.
|
* Show the specified resource.
|
||||||
*/
|
*/
|
||||||
public function show($id)
|
public function penawaran_show($id)
|
||||||
{
|
{
|
||||||
return view('lpj::show');
|
return view('lpj::show');
|
||||||
}
|
}
|
||||||
@@ -74,4 +81,14 @@ class TenderController extends Controller
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function proses_penawaran_index()
|
||||||
|
{
|
||||||
|
return view('lpj::proses_penawaran/index');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function penawaran_ulang_index()
|
||||||
|
{
|
||||||
|
return view('lpj::penawaran_ulang/index');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
37
app/Http/Requests/IjinUsahaRequest.php
Normal file
37
app/Http/Requests/IjinUsahaRequest.php
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Modules\Lpj\Http\Requests;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\FormRequest;
|
||||||
|
|
||||||
|
class IjinUsahaRequest extends FormRequest
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Get the validation rules that apply to the request.
|
||||||
|
*/
|
||||||
|
public function rules(): array
|
||||||
|
{
|
||||||
|
$rules = [
|
||||||
|
'nama_ijin_usaha' => 'required|string|not_regex:/^\d+$/|max:255'
|
||||||
|
];
|
||||||
|
|
||||||
|
return $rules;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine if the user is authorized to make this request.
|
||||||
|
*/
|
||||||
|
public function authorize(): bool
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function messages(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'nama_ijin_usaha.required' => 'Nama Ijin Usaha harus diisi!',
|
||||||
|
'nama_ijin_usaha.not_regex' => 'Nama Ijin Usaha harus berupa huruf!',
|
||||||
|
'nama_ijin_usaha.max' => 'Nama Ijin Usaha maksimal 255 huruf!'
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
||||||
24
app/Models/IjinUsaha.php
Normal file
24
app/Models/IjinUsaha.php
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Modules\Lpj\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Modules\Lpj\Database\Factories\IjinUsahaFactory;
|
||||||
|
|
||||||
|
class IjinUsaha extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $table = 'ijin_usaha';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable.
|
||||||
|
*/
|
||||||
|
protected $fillable = ['nama_ijin_usaha'];
|
||||||
|
|
||||||
|
// protected static function newFactory(): IjinUsahaFactory
|
||||||
|
// {
|
||||||
|
// //return IjinUsahaFactory::new();
|
||||||
|
// }
|
||||||
|
}
|
||||||
32
app/Models/KJPP.php
Normal file
32
app/Models/KJPP.php
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Modules\Lpj\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
// use Modules\Lpj\Database\Factories\KJPPFactory;
|
||||||
|
|
||||||
|
class KJPP extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
// Define the table if not using default table naming
|
||||||
|
protected $table = 'kjpp';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable.
|
||||||
|
*/
|
||||||
|
protected $guarded = ['id'];
|
||||||
|
|
||||||
|
// If you're using JSON columns, you may want to cast them properly
|
||||||
|
protected $casts = [
|
||||||
|
'jenis_usaha' => 'array',
|
||||||
|
'pengalaman' => 'array',
|
||||||
|
'kerjasama_sejak' => 'date', // For date fields
|
||||||
|
];
|
||||||
|
|
||||||
|
// protected static function newFactory(): KJPPFactory
|
||||||
|
// {
|
||||||
|
// //return KJPPFactory::new();
|
||||||
|
// }
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('ijin_usaha', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('nama_ijin_usaha');
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('ijin_usaha');
|
||||||
|
}
|
||||||
|
};
|
||||||
49
database/migrations/2024_09_18_084905_create_kjpp_table.php
Normal file
49
database/migrations/2024_09_18_084905_create_kjpp_table.php
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('kjpp', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('nomor');
|
||||||
|
$table->string('nama_kjpp');
|
||||||
|
$table->string('kantor_pusat');
|
||||||
|
$table->string('nomor_ijin_usaha');
|
||||||
|
$table->string('kota');
|
||||||
|
$table->date('kerjasama_sejak');
|
||||||
|
$table->text('alamat_kantor');
|
||||||
|
$table->string('no_tlp_kantor', 15);
|
||||||
|
$table->string('alamat_email');
|
||||||
|
$table->string('nama_pimpinan_kantor');
|
||||||
|
$table->string('no_hp_pimpinan', 15);
|
||||||
|
$table->string('nama_pic_reviewer');
|
||||||
|
$table->string('no_pic_reviewer', 15);
|
||||||
|
$table->string('nama_pic_admin');
|
||||||
|
$table->string('no_pic_admin', 15);
|
||||||
|
$table->string('nama_pic_marketing');
|
||||||
|
$table->string('no_pic_marketing', 15);
|
||||||
|
$table->json('ijin_usaha');
|
||||||
|
$table->json('pengalaman');
|
||||||
|
$table->string('company_name');
|
||||||
|
$table->string('ijin_ijin');
|
||||||
|
$table->string('npwp');
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('kjpp');
|
||||||
|
}
|
||||||
|
};
|
||||||
18
module.json
18
module.json
@@ -21,7 +21,7 @@
|
|||||||
{
|
{
|
||||||
"title": "Tender",
|
"title": "Tender",
|
||||||
"path": "tender",
|
"path": "tender",
|
||||||
"icon": "ki-filled ki-questionnaire-tablet text-lg",
|
"icon": "ki-filled ki-category text-lg",
|
||||||
"classes": "",
|
"classes": "",
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"permission": "",
|
"permission": "",
|
||||||
@@ -108,6 +108,22 @@
|
|||||||
"permission": "",
|
"permission": "",
|
||||||
"roles": []
|
"roles": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "KJPP",
|
||||||
|
"path": "basicdata.kjpp",
|
||||||
|
"classes": "",
|
||||||
|
"attributes": [],
|
||||||
|
"permission": "",
|
||||||
|
"roles": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Ijin Usaha",
|
||||||
|
"path": "basicdata.ijin_usaha",
|
||||||
|
"classes": "",
|
||||||
|
"attributes": [],
|
||||||
|
"permission": "",
|
||||||
|
"roles": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Mata Uang",
|
"title": "Mata Uang",
|
||||||
"path": "basicdata.currency",
|
"path": "basicdata.currency",
|
||||||
|
|||||||
50
resources/views/Ijin_usaha/create.blade.php
Normal file
50
resources/views/Ijin_usaha/create.blade.php
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
@extends('layouts.main')
|
||||||
|
|
||||||
|
@section('breadcrumbs')
|
||||||
|
{{ Breadcrumbs::render(request()->route()->getName()) }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
||||||
|
@if (isset($ijin_usaha->id))
|
||||||
|
<form action="{{ route('basicdata.ijin_usaha.update', $ijin_usaha->id) }}" method="POST">
|
||||||
|
<input type="hidden" name="id" value="{{ $ijin_usaha->id }}">
|
||||||
|
@method('PUT')
|
||||||
|
@else
|
||||||
|
<form method="POST" action="{{ route('basicdata.ijin_usaha.store') }}">
|
||||||
|
@endif
|
||||||
|
@csrf
|
||||||
|
<div class="card pb-2.5">
|
||||||
|
<div class="card-header" id="basic_settings">
|
||||||
|
<h3 class="card-title">
|
||||||
|
{{ isset($ijin_usaha->id) ? 'Edit' : 'Tambah' }} Ijin Usaha
|
||||||
|
</h3>
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<a href="{{ route('basicdata.ijin_usaha.index') }}" class="btn btn-xs btn-info"><i
|
||||||
|
class="ki-filled ki-exit-left"></i> Back</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body grid gap-5">
|
||||||
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||||
|
<label class="form-label max-w-56">
|
||||||
|
Nama Ijin Usaha
|
||||||
|
</label>
|
||||||
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
|
<input class="input @error('nama_ijin_usaha') border-danger bg-danger-light @enderror"
|
||||||
|
type="text" name="nama_ijin_usaha"
|
||||||
|
value="{{ $ijin_usaha->nama_ijin_usaha ?? old('nama_ijin_usaha') }}">
|
||||||
|
@error('nama_ijin_usaha')
|
||||||
|
<em class="alert text-danger text-sm">{{ $message }}</em>
|
||||||
|
@enderror
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex justify-end">
|
||||||
|
<button type="submit" class="btn btn-primary">
|
||||||
|
Save
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
@endsection
|
||||||
143
resources/views/Ijin_usaha/index.blade.php
Normal file
143
resources/views/Ijin_usaha/index.blade.php
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
@extends('layouts.main')
|
||||||
|
|
||||||
|
@section('breadcrumbs')
|
||||||
|
{{ Breadcrumbs::render('basicdata.ijin_usaha') }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="grid">
|
||||||
|
<div class="card card-grid min-w-full" data-datatable="false" data-datatable-page-size="5"
|
||||||
|
data-datatable-state-save="false" id="ijin-table" data-api-url="{{ route('basicdata.ijin_usaha.datatables') }}">
|
||||||
|
<div class="card-header py-5 flex-wrap">
|
||||||
|
<h3 class="card-title">
|
||||||
|
Ijin Usaha
|
||||||
|
</h3>
|
||||||
|
<div class="flex flex-wrap gap-2 lg:gap-5">
|
||||||
|
<div class="flex">
|
||||||
|
<label class="input input-sm"> <i class="ki-filled ki-magnifier"> </i>
|
||||||
|
<input placeholder="Search Ijin Usaha" id="search" type="text" value="">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-wrap gap-2.5">
|
||||||
|
<div class="h-[24px] border border-r-gray-200"></div>
|
||||||
|
<a class="btn btn-sm btn-primary" href="{{ route('basicdata.ijin_usaha.create') }}"> Tambah Ijin
|
||||||
|
Usaha
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="scrollable-x-auto">
|
||||||
|
<table class="table table-auto table-border align-middle text-gray-700 font-medium text-sm"
|
||||||
|
data-datatable-table="true">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="w-14">
|
||||||
|
<input class="checkbox checkbox-sm" data-datatable-check="true" type="checkbox" />
|
||||||
|
</th>
|
||||||
|
<th class="min-w-[250px]" data-datatable-column="nama_ijin_usaha">
|
||||||
|
<span class="sort"> <span class="sort-label"> Nama Ijin Usaha </span>
|
||||||
|
<span class="sort-icon"> </span> </span>
|
||||||
|
</th>
|
||||||
|
<th class="min-w-[50px] text-center" data-datatable-column="actions">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="card-footer justify-center md:justify-between flex-col md:flex-row gap-3 text-gray-600 text-2sm font-medium">
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
Show
|
||||||
|
<select class="select select-sm w-16" data-datatable-size="true" name="perpage"> </select> per page
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-4">
|
||||||
|
<span data-datatable-info="true"> </span>
|
||||||
|
<div class="pagination" data-datatable-pagination="true">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@push('scripts')
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function deleteData(data) {
|
||||||
|
Swal.fire({
|
||||||
|
title: 'Are you sure?',
|
||||||
|
text: "You won't be able to revert this!",
|
||||||
|
icon: 'warning',
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonColor: '#3085d6',
|
||||||
|
cancelButtonColor: '#d33',
|
||||||
|
confirmButtonText: 'Yes, delete it!'
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
$.ajaxSetup({
|
||||||
|
headers: {
|
||||||
|
'X-CSRF-TOKEN': '{{ csrf_token() }}'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$.ajax(`basic-data/ijin_usaha/${data}`, {
|
||||||
|
type: 'DELETE'
|
||||||
|
}).then((response) => {
|
||||||
|
swal.fire('Deleted!', 'Ijin Usaha has been deleted.', 'success').then(() => {
|
||||||
|
window.location.reload();
|
||||||
|
});
|
||||||
|
}).catch((error) => {
|
||||||
|
console.error('Error:', error);
|
||||||
|
Swal.fire('Error!', 'An error occurred while deleting the file.', 'error');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script type="module">
|
||||||
|
const element = document.querySelector('#ijin-table');
|
||||||
|
const searchInput = document.getElementById('search');
|
||||||
|
|
||||||
|
const apiUrl = element.getAttribute('data-api-url');
|
||||||
|
const dataTableOptions = {
|
||||||
|
apiEndpoint: apiUrl,
|
||||||
|
pageSize: 5,
|
||||||
|
columns: {
|
||||||
|
select: {
|
||||||
|
render: (item, data, context) => {
|
||||||
|
const checkbox = document.createElement('input');
|
||||||
|
checkbox.className = 'checkbox checkbox-sm';
|
||||||
|
checkbox.type = 'checkbox';
|
||||||
|
checkbox.value = data.id.toString();
|
||||||
|
checkbox.setAttribute('data-datatable-row-check', 'true');
|
||||||
|
return checkbox.outerHTML.trim();
|
||||||
|
},
|
||||||
|
},
|
||||||
|
nama_ijin_usaha: {
|
||||||
|
title: 'Nama Ijin Usaha',
|
||||||
|
},
|
||||||
|
actions: {
|
||||||
|
title: 'Status',
|
||||||
|
render: (item, data) => {
|
||||||
|
return `<div class="flex flex-nowrap justify-center">
|
||||||
|
<a class="btn btn-sm btn-icon btn-clear btn-info" href="basic-data/ijin_usaha/${data.id}/edit">
|
||||||
|
<i class="ki-outline ki-notepad-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a onclick="deleteData(${data.id})" class="delete btn btn-sm btn-icon btn-clear btn-danger">
|
||||||
|
<i class="ki-outline ki-trash"></i>
|
||||||
|
</a>
|
||||||
|
</div>`;
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
let dataTable = new KTDataTable(element, dataTableOptions);
|
||||||
|
// Custom search functionality
|
||||||
|
searchInput.addEventListener('input', function() {
|
||||||
|
const searchValue = this.value.trim();
|
||||||
|
dataTable.search(searchValue, true);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
||||||
162
resources/views/kjpp/index.blade.php
Normal file
162
resources/views/kjpp/index.blade.php
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
@extends('layouts.main')
|
||||||
|
|
||||||
|
@section('breadcrumbs')
|
||||||
|
{{ Breadcrumbs::render('basicdata.kjpp') }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="grid">
|
||||||
|
<div class="card card-grid min-w-full" data-datatable="false" data-datatable-page-size="5"
|
||||||
|
data-datatable-state-save="false" id="kjpp-table" data-api-url="{{ route('basicdata.kjpp.datatables') }}">
|
||||||
|
<div class="card-header py-5 flex-wrap">
|
||||||
|
<h3 class="card-title">
|
||||||
|
KJPP
|
||||||
|
</h3>
|
||||||
|
<div class="flex flex-wrap gap-2 lg:gap-5">
|
||||||
|
<div class="flex">
|
||||||
|
<label class="input input-sm"> <i class="ki-filled ki-magnifier"> </i>
|
||||||
|
<input placeholder="Search KJPP" id="search" type="text" value="">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-wrap gap-2.5">
|
||||||
|
<div class="h-[24px] border border-r-gray-200"></div>
|
||||||
|
<a class="btn btn-sm btn-light" href="{{ route('basicdata.kjpp.export') }}"> Export to Excel
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-sm btn-primary" href="{{ route('basicdata.kjpp.create') }}"> Tambah KJPP
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="scrollable-x-auto">
|
||||||
|
<table class="table table-auto table-border align-middle text-gray-700 font-medium text-sm"
|
||||||
|
data-datatable-table="true">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="w-14">
|
||||||
|
<input class="checkbox checkbox-sm" data-datatable-check="true" type="checkbox" />
|
||||||
|
</th>
|
||||||
|
<th class="min-w-[250px]" data-datatable-column="nomor">
|
||||||
|
<span class="sort"> <span class="sort-label"> Nomor </span>
|
||||||
|
<span class="sort-icon"> </span> </span>
|
||||||
|
</th>
|
||||||
|
<th class="min-w-[250px]" data-datatable-column="nama_kjpp">
|
||||||
|
<span class="sort"> <span class="sort-label"> Nama KJPP </span>
|
||||||
|
<span class="sort-icon"> </span> </span>
|
||||||
|
</th>
|
||||||
|
<th class="min-w-[50px]" data-datatable-column="kota">
|
||||||
|
<span class="sort"> <span class="sort-label"> Kota </span>
|
||||||
|
<span class="sort-icon"> </span> </span>
|
||||||
|
</th>
|
||||||
|
<th class="min-w-[50px] text-center" data-datatable-column="actions">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="card-footer justify-center md:justify-between flex-col md:flex-row gap-3 text-gray-600 text-2sm font-medium">
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
Show
|
||||||
|
<select class="select select-sm w-16" data-datatable-size="true" name="perpage"> </select> per page
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-4">
|
||||||
|
<span data-datatable-info="true"> </span>
|
||||||
|
<div class="pagination" data-datatable-pagination="true">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@push('scripts')
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function deleteData(data) {
|
||||||
|
Swal.fire({
|
||||||
|
title: 'Are you sure?',
|
||||||
|
text: "You won't be able to revert this!",
|
||||||
|
icon: 'warning',
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonColor: '#3085d6',
|
||||||
|
cancelButtonColor: '#d33',
|
||||||
|
confirmButtonText: 'Yes, delete it!'
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
$.ajaxSetup({
|
||||||
|
headers: {
|
||||||
|
'X-CSRF-TOKEN': '{{ csrf_token() }}'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$.ajax(`basic-data/kjpp/${data}`, {
|
||||||
|
type: 'DELETE'
|
||||||
|
}).then((response) => {
|
||||||
|
swal.fire('Deleted!', 'User has been deleted.', 'success').then(() => {
|
||||||
|
window.location.reload();
|
||||||
|
});
|
||||||
|
}).catch((error) => {
|
||||||
|
console.error('Error:', error);
|
||||||
|
Swal.fire('Error!', 'An error occurred while deleting the file.', 'error');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script type="module">
|
||||||
|
const element = document.querySelector('#kjpp-table');
|
||||||
|
const searchInput = document.getElementById('search');
|
||||||
|
|
||||||
|
const apiUrl = element.getAttribute('data-api-url');
|
||||||
|
const dataTableOptions = {
|
||||||
|
apiEndpoint: apiUrl,
|
||||||
|
pageSize: 5,
|
||||||
|
columns: {
|
||||||
|
select: {
|
||||||
|
render: (item, data, context) => {
|
||||||
|
const checkbox = document.createElement('input');
|
||||||
|
checkbox.className = 'checkbox checkbox-sm';
|
||||||
|
checkbox.type = 'checkbox';
|
||||||
|
checkbox.value = data.id.toString();
|
||||||
|
checkbox.setAttribute('data-datatable-row-check', 'true');
|
||||||
|
return checkbox.outerHTML.trim();
|
||||||
|
},
|
||||||
|
},
|
||||||
|
nomor: {
|
||||||
|
title: 'Nomor',
|
||||||
|
},
|
||||||
|
nama_kjpp: {
|
||||||
|
title: 'Nama KJPP',
|
||||||
|
},
|
||||||
|
kota: {
|
||||||
|
title: 'Kota',
|
||||||
|
},
|
||||||
|
actions: {
|
||||||
|
title: 'Status',
|
||||||
|
render: (item, data) => {
|
||||||
|
return `<div class="flex flex-nowrap justify-center">
|
||||||
|
<a class="btn btn-sm btn-icon btn-clear btn-primary" href="basic-data/kjpp/${data.id}/show">
|
||||||
|
<i class="ki-filled ki-eye"></i>
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-sm btn-icon btn-clear btn-info" href="basic-data/kjpp/${data.id}/edit">
|
||||||
|
<i class="ki-outline ki-notepad-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a onclick="deleteData(${data.id})" class="delete btn btn-sm btn-icon btn-clear btn-danger">
|
||||||
|
<i class="ki-outline ki-trash"></i>
|
||||||
|
</a>
|
||||||
|
</div>`;
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
let dataTable = new KTDataTable(element, dataTableOptions);
|
||||||
|
// Custom search functionality
|
||||||
|
searchInput.addEventListener('input', function() {
|
||||||
|
const searchValue = this.value.trim();
|
||||||
|
dataTable.search(searchValue, true);
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
||||||
22
resources/views/penawaran/create.blade.php
Normal file
22
resources/views/penawaran/create.blade.php
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
@extends('layouts.main')
|
||||||
|
|
||||||
|
@section('breadcrumbs')
|
||||||
|
{{ Breadcrumbs::render('tender.penawaran') }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
||||||
|
|
||||||
|
<div class="card pb-2.5">
|
||||||
|
<div class="card-header" id="basic_settings">
|
||||||
|
<h3 class="card-title">
|
||||||
|
Tambah Data Penawaran
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
{{-- @include('lpj::debitur.form') --}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endsection
|
||||||
@@ -7,15 +7,14 @@
|
|||||||
@section('content')
|
@section('content')
|
||||||
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
||||||
|
|
||||||
<div class="card pb-2.5">
|
<div class="card pb-2.5" data-datatable="false" data-datatable-page-size="5" data-datatable-state-save="false"
|
||||||
<div class="card-header" id="basic_settings">
|
id="currency-table" data-api-url="{{ route('basicdata.currency.datatables') }}">
|
||||||
|
<div class="card-header py-5 flex-wrap" id="basic_settings">
|
||||||
<h3 class="card-title">
|
<h3 class="card-title">
|
||||||
Data Penawaran
|
Data Penawaran
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{{-- @include('lpj::debitur.form') --}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -188,6 +188,26 @@ Breadcrumbs::for('basicdata.status-permohonan.edit', function (BreadcrumbTrail $
|
|||||||
$trail->push('Edit Status Permohonan');
|
$trail->push('Edit Status Permohonan');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Breadcrumbs::for('basicdata.kjpp', function (BreadcrumbTrail $trail) {
|
||||||
|
$trail->parent('basicdata');
|
||||||
|
$trail->push('KJPP', route('basicdata.kjpp.index'));
|
||||||
|
});
|
||||||
|
|
||||||
|
Breadcrumbs::for('basicdata.ijin_usaha', function (BreadcrumbTrail $trail) {
|
||||||
|
$trail->parent('basicdata');
|
||||||
|
$trail->push('Ijin Usaha', route('basicdata.ijin_usaha.index'));
|
||||||
|
});
|
||||||
|
|
||||||
|
Breadcrumbs::for('basicdata.ijin_usaha.create', function (BreadcrumbTrail $trail) {
|
||||||
|
$trail->parent('basicdata.ijin_usaha');
|
||||||
|
$trail->push('Tambah Ijin Usaha', route('basicdata.ijin_usaha.create'));
|
||||||
|
});
|
||||||
|
|
||||||
|
Breadcrumbs::for('basicdata.ijin_usaha.edit', function (BreadcrumbTrail $trail) {
|
||||||
|
$trail->parent('basicdata.ijin_usaha');
|
||||||
|
$trail->push('Edit Ijin Usaha');
|
||||||
|
});
|
||||||
|
|
||||||
Breadcrumbs::for('debitur', function (BreadcrumbTrail $trail) {
|
Breadcrumbs::for('debitur', function (BreadcrumbTrail $trail) {
|
||||||
$trail->push('Debitur', route('debitur.index'));
|
$trail->push('Debitur', route('debitur.index'));
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -8,11 +8,13 @@ use Modules\Lpj\Http\Controllers\DebitureController;
|
|||||||
use Modules\Lpj\Http\Controllers\DokumenJaminanController;
|
use Modules\Lpj\Http\Controllers\DokumenJaminanController;
|
||||||
use Modules\Lpj\Http\Controllers\HubunganPemilikJaminanController;
|
use Modules\Lpj\Http\Controllers\HubunganPemilikJaminanController;
|
||||||
use Modules\Lpj\Http\Controllers\HubunganPenghuniJaminanController;
|
use Modules\Lpj\Http\Controllers\HubunganPenghuniJaminanController;
|
||||||
|
use Modules\Lpj\Http\Controllers\IjinUsahaController;
|
||||||
use Modules\Lpj\Http\Controllers\JenisAsetController;
|
use Modules\Lpj\Http\Controllers\JenisAsetController;
|
||||||
use Modules\Lpj\Http\Controllers\JenisDokumenController;
|
use Modules\Lpj\Http\Controllers\JenisDokumenController;
|
||||||
use Modules\Lpj\Http\Controllers\JenisFasilitasKreditController;
|
use Modules\Lpj\Http\Controllers\JenisFasilitasKreditController;
|
||||||
use Modules\Lpj\Http\Controllers\JenisJaminanController;
|
use Modules\Lpj\Http\Controllers\JenisJaminanController;
|
||||||
use Modules\Lpj\Http\Controllers\JenisLegalitasJaminanController;
|
use Modules\Lpj\Http\Controllers\JenisLegalitasJaminanController;
|
||||||
|
use Modules\Lpj\Http\Controllers\KJPPController;
|
||||||
use Modules\Lpj\Http\Controllers\NilaiPlafondController;
|
use Modules\Lpj\Http\Controllers\NilaiPlafondController;
|
||||||
use Modules\Lpj\Http\Controllers\PemilikJaminanController;
|
use Modules\Lpj\Http\Controllers\PemilikJaminanController;
|
||||||
use Modules\Lpj\Http\Controllers\PermohonanController;
|
use Modules\Lpj\Http\Controllers\PermohonanController;
|
||||||
@@ -152,6 +154,21 @@ Route::middleware(['auth'])->group(function () {
|
|||||||
Route::get('export', [StatusPermohonanController::class, 'export'])->name('export');
|
Route::get('export', [StatusPermohonanController::class, 'export'])->name('export');
|
||||||
});
|
});
|
||||||
Route::resource('status-permohonan', StatusPermohonanController::class);
|
Route::resource('status-permohonan', StatusPermohonanController::class);
|
||||||
|
|
||||||
|
Route::name('kjpp.')->prefix('kjpp')->group(function () {
|
||||||
|
Route::get('datatables', [KJPPController::class, 'dataForDatatables'])
|
||||||
|
->name('datatables');
|
||||||
|
Route::get('export', [KJPPController::class, 'export'])->name('export');
|
||||||
|
});
|
||||||
|
|
||||||
|
Route::resource('kjpp', KJPPController::class);
|
||||||
|
|
||||||
|
Route::name('ijin_usaha.')->prefix('ijin_usaha')->group(function () {
|
||||||
|
Route::get('datatables', [IjinUsahaController::class, 'dataForDatatables'])
|
||||||
|
->name('datatables');
|
||||||
|
});
|
||||||
|
|
||||||
|
Route::resource('ijin_usaha', IjinUsahaController::class);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::name('permohonan.')->prefix('permohonan')->group(function () {
|
Route::name('permohonan.')->prefix('permohonan')->group(function () {
|
||||||
@@ -201,8 +218,14 @@ Route::middleware(['auth'])->group(function () {
|
|||||||
Route::resource('debitur', DebitureController::class);
|
Route::resource('debitur', DebitureController::class);
|
||||||
|
|
||||||
Route::name('tender.')->prefix('tender')->group(function () {
|
Route::name('tender.')->prefix('tender')->group(function () {
|
||||||
|
// Penawaran
|
||||||
Route::get('penawaran', [TenderController::class, 'penawaran_index'])->name('penawaran.index');
|
Route::get('penawaran', [TenderController::class, 'penawaran_index'])->name('penawaran.index');
|
||||||
|
Route::get('penawaran/create', [TenderController::class, 'penawaran_create'])->name('penawaran.create');
|
||||||
|
|
||||||
|
// Proses Penawaran
|
||||||
Route::get('proses_penawaran', [TenderController::class, 'proses_penawaran_index'])->name('proses_penawaran.index');
|
Route::get('proses_penawaran', [TenderController::class, 'proses_penawaran_index'])->name('proses_penawaran.index');
|
||||||
|
|
||||||
|
// Penawaran Ulang
|
||||||
Route::get('penawaran_ulang', [TenderController::class, 'penawaran_ulang_index'])->name('penawaran_ulang.index');
|
Route::get('penawaran_ulang', [TenderController::class, 'penawaran_ulang_index'])->name('penawaran_ulang.index');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user