Commit 76a907b0 by Farendi Giotivano R.P

login

parent efc8dc34
......@@ -61,6 +61,7 @@ class ProposalController extends Controller
$getDosen = GetDataApiController::getDosen();
$jenis = Jenis::pluck('nama','jenis_id');
$bio = auth()->user()->rBiodata;
$proposal = null;
$kelompok = Kelompok::where('created_user', auth()->user()->id)
->where('periode_id', $periode->periode_id)
......@@ -77,7 +78,8 @@ class ProposalController extends Controller
'dosen' => $getDosen['data'],
'periode' => $periode,
'jenis' => $jenis,
'kelompok' => $kelompok
'kelompok' => $kelompok,
'proposal' => $proposal
];
return view('backend.mahasiswa.proposal.create', $data);
......
......@@ -291,23 +291,23 @@
},
{
"name": "doctrine/inflector",
"version": "2.0.5",
"version": "2.0.6",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
"reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392"
"reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/inflector/zipball/ade2b3bbfb776f27f0558e26eed43b5d9fe1b392",
"reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392",
"url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024",
"reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^9",
"doctrine/coding-standard": "^10",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-strict-rules": "^1.3",
......@@ -362,7 +362,7 @@
],
"support": {
"issues": "https://github.com/doctrine/inflector/issues",
"source": "https://github.com/doctrine/inflector/tree/2.0.5"
"source": "https://github.com/doctrine/inflector/tree/2.0.6"
},
"funding": [
{
......@@ -378,7 +378,7 @@
"type": "tidelift"
}
],
"time": "2022-09-07T09:01:28+00:00"
"time": "2022-10-20T09:10:12+00:00"
},
{
"name": "doctrine/lexer",
......@@ -1131,16 +1131,16 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.1",
"version": "2.4.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "69568e4293f4fa993f3b0e51c9723e1e17c41379"
"reference": "3148458748274be1546f8f2809a6c09fe66f44aa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/69568e4293f4fa993f3b0e51c9723e1e17c41379",
"reference": "69568e4293f4fa993f3b0e51c9723e1e17c41379",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3148458748274be1546f8f2809a6c09fe66f44aa",
"reference": "3148458748274be1546f8f2809a6c09fe66f44aa",
"shasum": ""
},
"require": {
......@@ -1230,7 +1230,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.1"
"source": "https://github.com/guzzle/psr7/tree/2.4.2"
},
"funding": [
{
......@@ -1246,20 +1246,20 @@
"type": "tidelift"
}
],
"time": "2022-08-28T14:45:39+00:00"
"time": "2022-10-25T13:49:28+00:00"
},
{
"name": "jaybizzle/crawler-detect",
"version": "v1.2.111",
"version": "v1.2.112",
"source": {
"type": "git",
"url": "https://github.com/JayBizzle/Crawler-Detect.git",
"reference": "d572ed4a65a70a2d2871dc5137c9c5b7e69745ab"
"reference": "2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/d572ed4a65a70a2d2871dc5137c9c5b7e69745ab",
"reference": "d572ed4a65a70a2d2871dc5137c9c5b7e69745ab",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f",
"reference": "2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f",
"shasum": ""
},
"require": {
......@@ -1296,9 +1296,9 @@
],
"support": {
"issues": "https://github.com/JayBizzle/Crawler-Detect/issues",
"source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.111"
"source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.112"
},
"time": "2022-03-15T22:19:01+00:00"
"time": "2022-10-05T21:52:44+00:00"
},
{
"name": "jenssegers/agent",
......@@ -1385,16 +1385,16 @@
},
{
"name": "laravel/fortify",
"version": "v1.13.3",
"version": "v1.13.5",
"source": {
"type": "git",
"url": "https://github.com/laravel/fortify.git",
"reference": "cde06120605b8bb038142b03425c67fc97d047d1"
"reference": "c3c42f1263c657c2a385c85007944b450d437cf6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/fortify/zipball/cde06120605b8bb038142b03425c67fc97d047d1",
"reference": "cde06120605b8bb038142b03425c67fc97d047d1",
"url": "https://api.github.com/repos/laravel/fortify/zipball/c3c42f1263c657c2a385c85007944b450d437cf6",
"reference": "c3c42f1263c657c2a385c85007944b450d437cf6",
"shasum": ""
},
"require": {
......@@ -1444,20 +1444,20 @@
"issues": "https://github.com/laravel/fortify/issues",
"source": "https://github.com/laravel/fortify"
},
"time": "2022-08-15T15:08:17+00:00"
"time": "2022-10-21T10:14:28+00:00"
},
{
"name": "laravel/framework",
"version": "v8.83.24",
"version": "v8.83.25",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "a684da6197ae77eee090637ae4411b2f321adfc7"
"reference": "b77b908a9426efa41d6286a2ef4c3adbf5398ca1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/a684da6197ae77eee090637ae4411b2f321adfc7",
"reference": "a684da6197ae77eee090637ae4411b2f321adfc7",
"url": "https://api.github.com/repos/laravel/framework/zipball/b77b908a9426efa41d6286a2ef4c3adbf5398ca1",
"reference": "b77b908a9426efa41d6286a2ef4c3adbf5398ca1",
"shasum": ""
},
"require": {
......@@ -1617,7 +1617,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2022-09-22T18:59:47+00:00"
"time": "2022-09-30T13:00:40+00:00"
},
{
"name": "laravel/jetstream",
......@@ -2106,16 +2106,16 @@
},
{
"name": "league/flysystem",
"version": "1.1.9",
"version": "1.1.10",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "094defdb4a7001845300334e7c1ee2335925ef99"
"reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99",
"reference": "094defdb4a7001845300334e7c1ee2335925ef99",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3239285c825c152bcc315fe0e87d6b55f5972ed1",
"reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1",
"shasum": ""
},
"require": {
......@@ -2188,7 +2188,7 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/1.1.9"
"source": "https://github.com/thephpleague/flysystem/tree/1.1.10"
},
"funding": [
{
......@@ -2196,7 +2196,7 @@
"type": "other"
}
],
"time": "2021-12-09T09:40:50+00:00"
"time": "2022-10-04T09:16:37+00:00"
},
{
"name": "league/mime-type-detection",
......@@ -2329,16 +2329,16 @@
},
{
"name": "maatwebsite/excel",
"version": "3.1.41",
"version": "3.1.44",
"source": {
"type": "git",
"url": "https://github.com/SpartnerNL/Laravel-Excel.git",
"reference": "f7a1c3159fab8b4069a67c30e71810b358a2797e"
"reference": "289c3320982510dacfe0dd00de68061a2b7f4a43"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/f7a1c3159fab8b4069a67c30e71810b358a2797e",
"reference": "f7a1c3159fab8b4069a67c30e71810b358a2797e",
"url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/289c3320982510dacfe0dd00de68061a2b7f4a43",
"reference": "289c3320982510dacfe0dd00de68061a2b7f4a43",
"shasum": ""
},
"require": {
......@@ -2392,7 +2392,7 @@
],
"support": {
"issues": "https://github.com/SpartnerNL/Laravel-Excel/issues",
"source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.41"
"source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.44"
},
"funding": [
{
......@@ -2404,7 +2404,7 @@
"type": "github"
}
],
"time": "2022-09-26T14:55:28+00:00"
"time": "2022-10-14T20:01:10+00:00"
},
{
"name": "maennchen/zipstream-php",
......@@ -4370,16 +4370,16 @@
},
{
"name": "symfony/console",
"version": "v5.4.12",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "c072aa8f724c3af64e2c7a96b796a4863d24dba1"
"reference": "984ea2c0f45f42dfed01d2f3987b187467c4b16d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/c072aa8f724c3af64e2c7a96b796a4863d24dba1",
"reference": "c072aa8f724c3af64e2c7a96b796a4863d24dba1",
"url": "https://api.github.com/repos/symfony/console/zipball/984ea2c0f45f42dfed01d2f3987b187467c4b16d",
"reference": "984ea2c0f45f42dfed01d2f3987b187467c4b16d",
"shasum": ""
},
"require": {
......@@ -4449,7 +4449,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.4.12"
"source": "https://github.com/symfony/console/tree/v5.4.14"
},
"funding": [
{
......@@ -4465,7 +4465,7 @@
"type": "tidelift"
}
],
"time": "2022-08-17T13:18:05+00:00"
"time": "2022-10-07T08:01:20+00:00"
},
{
"name": "symfony/css-selector",
......@@ -4602,16 +4602,16 @@
},
{
"name": "symfony/error-handler",
"version": "v5.4.11",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "f75d17cb4769eb38cd5fccbda95cd80a054d35c8"
"reference": "5fe6d42ffeb68b094df8fdbf3acf23f391cc6be0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/f75d17cb4769eb38cd5fccbda95cd80a054d35c8",
"reference": "f75d17cb4769eb38cd5fccbda95cd80a054d35c8",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/5fe6d42ffeb68b094df8fdbf3acf23f391cc6be0",
"reference": "5fe6d42ffeb68b094df8fdbf3acf23f391cc6be0",
"shasum": ""
},
"require": {
......@@ -4653,7 +4653,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v5.4.11"
"source": "https://github.com/symfony/error-handler/tree/v5.4.14"
},
"funding": [
{
......@@ -4669,7 +4669,7 @@
"type": "tidelift"
}
],
"time": "2022-07-29T07:37:50+00:00"
"time": "2022-10-03T15:15:50+00:00"
},
{
"name": "symfony/event-dispatcher",
......@@ -4900,16 +4900,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v5.4.12",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "f4bfe9611b113b15d98a43da68ec9b5a00d56791"
"reference": "e7c7b395c3a61d746919c21e915f51f0039c3f75"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/f4bfe9611b113b15d98a43da68ec9b5a00d56791",
"reference": "f4bfe9611b113b15d98a43da68ec9b5a00d56791",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/e7c7b395c3a61d746919c21e915f51f0039c3f75",
"reference": "e7c7b395c3a61d746919c21e915f51f0039c3f75",
"shasum": ""
},
"require": {
......@@ -4956,7 +4956,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.12"
"source": "https://github.com/symfony/http-foundation/tree/v5.4.14"
},
"funding": [
{
......@@ -4972,20 +4972,20 @@
"type": "tidelift"
}
],
"time": "2022-08-19T07:33:17+00:00"
"time": "2022-10-01T21:59:28+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v5.4.12",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "37f660fa3bcd78fe4893ce23ebe934618ec099be"
"reference": "6f77fabc1a37c2dceecc6f78cca44772705dc52f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/37f660fa3bcd78fe4893ce23ebe934618ec099be",
"reference": "37f660fa3bcd78fe4893ce23ebe934618ec099be",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/6f77fabc1a37c2dceecc6f78cca44772705dc52f",
"reference": "6f77fabc1a37c2dceecc6f78cca44772705dc52f",
"shasum": ""
},
"require": {
......@@ -5068,7 +5068,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.4.12"
"source": "https://github.com/symfony/http-kernel/tree/v5.4.14"
},
"funding": [
{
......@@ -5084,20 +5084,20 @@
"type": "tidelift"
}
],
"time": "2022-08-26T14:40:40+00:00"
"time": "2022-10-12T07:12:21+00:00"
},
{
"name": "symfony/mime",
"version": "v5.4.12",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
"reference": "03876e9c5a36f5b45e7d9a381edda5421eff8a90"
"reference": "1c118b253bb3495d81e95a6e3ec6c2766a98a0c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/03876e9c5a36f5b45e7d9a381edda5421eff8a90",
"reference": "03876e9c5a36f5b45e7d9a381edda5421eff8a90",
"url": "https://api.github.com/repos/symfony/mime/zipball/1c118b253bb3495d81e95a6e3ec6c2766a98a0c4",
"reference": "1c118b253bb3495d81e95a6e3ec6c2766a98a0c4",
"shasum": ""
},
"require": {
......@@ -5111,7 +5111,8 @@
"egulias/email-validator": "~3.0.0",
"phpdocumentor/reflection-docblock": "<3.2.2",
"phpdocumentor/type-resolver": "<1.4.0",
"symfony/mailer": "<4.4"
"symfony/mailer": "<4.4",
"symfony/serializer": "<5.4.14|>=6.0,<6.0.14|>=6.1,<6.1.6"
},
"require-dev": {
"egulias/email-validator": "^2.1.10|^3.1",
......@@ -5119,7 +5120,7 @@
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/property-access": "^4.4|^5.1|^6.0",
"symfony/property-info": "^4.4|^5.1|^6.0",
"symfony/serializer": "^5.2|^6.0"
"symfony/serializer": "^5.4.14|~6.0.14|^6.1.6"
},
"type": "library",
"autoload": {
......@@ -5151,7 +5152,7 @@
"mime-type"
],
"support": {
"source": "https://github.com/symfony/mime/tree/v5.4.12"
"source": "https://github.com/symfony/mime/tree/v5.4.14"
},
"funding": [
{
......@@ -5167,7 +5168,7 @@
"type": "tidelift"
}
],
"time": "2022-08-19T14:24:03+00:00"
"time": "2022-10-07T08:01:20+00:00"
},
{
"name": "symfony/polyfill-ctype",
......@@ -6223,16 +6224,16 @@
},
{
"name": "symfony/string",
"version": "v5.4.12",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "2fc515e512d721bf31ea76bd02fe23ada4640058"
"reference": "089e7237497fae7a9c404d0c3aeb8db3254733e4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/2fc515e512d721bf31ea76bd02fe23ada4640058",
"reference": "2fc515e512d721bf31ea76bd02fe23ada4640058",
"url": "https://api.github.com/repos/symfony/string/zipball/089e7237497fae7a9c404d0c3aeb8db3254733e4",
"reference": "089e7237497fae7a9c404d0c3aeb8db3254733e4",
"shasum": ""
},
"require": {
......@@ -6289,7 +6290,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v5.4.12"
"source": "https://github.com/symfony/string/tree/v5.4.14"
},
"funding": [
{
......@@ -6305,20 +6306,20 @@
"type": "tidelift"
}
],
"time": "2022-08-12T17:03:11+00:00"
"time": "2022-10-05T15:16:54+00:00"
},
{
"name": "symfony/translation",
"version": "v5.4.12",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "42ecc77eb4f229ce2df702a648ec93b8478d76ae"
"reference": "f0ed07675863aa6e3939df8b1bc879450b585cab"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/42ecc77eb4f229ce2df702a648ec93b8478d76ae",
"reference": "42ecc77eb4f229ce2df702a648ec93b8478d76ae",
"url": "https://api.github.com/repos/symfony/translation/zipball/f0ed07675863aa6e3939df8b1bc879450b585cab",
"reference": "f0ed07675863aa6e3939df8b1bc879450b585cab",
"shasum": ""
},
"require": {
......@@ -6386,7 +6387,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v5.4.12"
"source": "https://github.com/symfony/translation/tree/v5.4.14"
},
"funding": [
{
......@@ -6402,7 +6403,7 @@
"type": "tidelift"
}
],
"time": "2022-08-02T15:52:22+00:00"
"time": "2022-10-07T08:01:20+00:00"
},
{
"name": "symfony/translation-contracts",
......@@ -6484,16 +6485,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.4.11",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "b8f306d7b8ef34fb3db3305be97ba8e088fb4861"
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/b8f306d7b8ef34fb3db3305be97ba8e088fb4861",
"reference": "b8f306d7b8ef34fb3db3305be97ba8e088fb4861",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/6894d06145fefebd9a4c7272baa026a1c394a430",
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430",
"shasum": ""
},
"require": {
......@@ -6553,7 +6554,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.11"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.14"
},
"funding": [
{
......@@ -6569,7 +6570,7 @@
"type": "tidelift"
}
],
"time": "2022-07-20T13:00:38+00:00"
"time": "2022-10-07T08:01:20+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
......@@ -6692,16 +6693,16 @@
},
{
"name": "vlucas/phpdotenv",
"version": "v5.4.1",
"version": "v5.5.0",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f"
"reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f",
"reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7",
"reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7",
"shasum": ""
},
"require": {
......@@ -6716,15 +6717,19 @@
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4.1",
"ext-filter": "*",
"phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10"
"phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25"
},
"suggest": {
"ext-filter": "Required to use the boolean validator."
},
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
},
"branch-alias": {
"dev-master": "5.4-dev"
"dev-master": "5.5-dev"
}
},
"autoload": {
......@@ -6756,7 +6761,7 @@
],
"support": {
"issues": "https://github.com/vlucas/phpdotenv/issues",
"source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1"
"source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0"
},
"funding": [
{
......@@ -6768,7 +6773,7 @@
"type": "tidelift"
}
],
"time": "2021-12-12T23:22:04+00:00"
"time": "2022-10-16T01:01:54+00:00"
},
{
"name": "voku/portable-ascii",
......
......@@ -118,7 +118,7 @@ return [
|
*/
'views' => true,
'views' => false,
/*
|--------------------------------------------------------------------------
......
File added
......@@ -51,7 +51,7 @@
<select class="form-select select2" name="jenis">
<option selected>Pilih Jenis</option>
@foreach($jenis as $item => $pkm)
<option value="{{ $item }}" {{ $proposal->jenis_id == $item ? 'selected' : '' }}>{{ $pkm }}</option>
<option value="{{ $item }}" {{ $proposal ? $proposal->jenis_id == $item ? 'selected' : '' : '' }}>{{ $pkm }}</option>
@endforeach
</select>
</div>
......
......@@ -9,7 +9,19 @@
@if (Auth::user()->hasrole(['operator']))
<li class="menu-title">Menu Operator</li>
<li>
<a href="{{ URL::to('/dashboard') }}" class="waves-effect"><i class="ti-home"></i><span>Dashboard</span></a>
</li>
<li>
<a href="{{ URL::to('/operator/user') }}" class="waves-effect"><i class="ti-user"></i><span>User</span></a>
</li>
<li>
<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="ti-settings"></i>
<span>Seting</span>
</a>
<ul class="sub-menu" aria-expanded="false">
<li class="{{ (request()->is('jenis/*')) ? 'mm-active' : '' }}">
<a href="{{ URL::to('jenis') }}" class="waves-effect">
<i class="ti-home"></i>
......@@ -28,10 +40,17 @@
<span>Jadwal Kegiatan</span>
</a>
</li>
</ul>
</li>
<li>
<a href="{{ URL::to('/operator/kelompok') }}" class="waves-effect"><i class="ti-id-badge"></i><span>Kelompok</span></a>
</li>
<li>
<a href="{{ URL::to('/operator/proposal') }}" class="waves-effect"><i class="ti-agenda"></i><span>Proposal</span></a>
</li>
<li class="{{ (request()->is('seleksi_internal*')) ? 'mm-active' : '' }}">
<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="ti-home"></i>
<i class="ti-check"></i>
<span>Seleksi Internal</span>
</a>
<ul class="sub-menu" aria-expanded="false">
......@@ -39,6 +58,20 @@
<li><a href="{{ URL::to('seleksi_internal_proposal') }}">Daftar Proposal</a></li>
</ul>
</li>
<li>
<a href="{{ URL::to('/operator/seleksi-belmawa') }}" class="waves-effect"><i class="ti-check-box"></i><span>Seleksi Belmawa</span></a>
</li>
<li>
<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="ti-layers-alt"></i>
<span>Monev Internal</span>
</a>
<ul class="sub-menu" aria-expanded="false">
<li><a href="{{ URL::to('/operator/monev-satu') }}">Monev Internal I</a></li>
<li><a href="{{ URL::to('/operator/monev-dua') }}">Monev Internal II</a></li>
<li><a href="{{ URL::to('/operator/monev-tiga') }}">Monev Internal III</a></li>
</ul>
</li>
@endif
@if (Auth::user()->hasrole(['mahasiswa']))
......
......@@ -48,6 +48,8 @@ Route::group(['namespace' => 'Authentication'], function () {
Route::get('sso/{email}/{sessionid}', [LoginController::class, 'sso']);
});
Route::get('login', [App\Http\Controllers\Auth\LoginController::class, 'showLoginForm'])->name('login');
Route::post('login', [Laravel\Fortify\Http\Controllers\AuthenticatedSessionController::class, 'store']);
Route::group(['middleware' => ['auth:sanctum', 'verified']], function () {
......@@ -136,7 +138,7 @@ Route::get('getDosen', [ReviewerController::class, 'getDosen'])->name('getDosen'
Route::resource('seleksi_internal_proposal', DaftarProposalController::class);
Route::get('getDaftarProposal', [DaftarProposalController::class, 'getData'])->name('getDaftarProposal');
Auth::routes();
//Auth::routes();
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment