added a fix for the SSL issues on the assets

This commit is contained in:
Kwesi Banson Jnr 2026-02-20 05:50:26 +00:00
parent 10b2ce059f
commit ea2e16a5b3
7 changed files with 33 additions and 67 deletions

51
info.md
View File

@ -10,35 +10,7 @@
## API Testing Tool
- https://restful-api.dev/
curl --location 'http://41.66.197.28:8831/api/auth/auth_user.php' \
--header 'Content-Type: application/json' \
--data '{"user":"assiamah","pass":"win","api_token":"1c46538c712e9b5b"}'
curl --location 'https://api.lupmis4luspa.org/api/auth/auth_user.php' \
--header 'Content-Type: application/json' \
--data '{"user":"assiamah","pass":"win","api_token":"1c46538c712e9b5b"}'
curl -X 'POST' \
'http://41.66.197.28:8831/api/user_mgt/get_all_usr_permission.php' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"api_token": "1c46538c712e9b5b"
}'
curl -X 'POST' \
'http://41.66.197.28:8831/api/menu/get_all_menus.php' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"user_id": "string",
"api_token": "1c46538c712e9b5b"
}'
git remote add https://gitea.lupmis4luspa.org/kwesigitea/main-backend.git
title - add N/A
@ -59,27 +31,6 @@ networks:
external: true
add
coordinates
agents
add gh post gps
street name
property address
days for application starts application number is generated
other requirements will be considered before payment
processing fee is non refundable
specific statuses as dropdown
add additional comments
Add Group to the dropdown for Applicant Type
national ID should be optional
remove consultant and use only agent
change applicant name to a textarea
nationality should be a dropdown
add N/A to the title field
Project Location/Address change it to Project Location/Address/Ghana PostGPS
fields under Land & Parcel Details should be optional
curl -X 'POST' \
'https://api.lupmis4luspa.org/api/user_mgt/get_district_by_region_id.php' \

View File

@ -33,7 +33,7 @@ class PermitsController extends Controller
]);
$result = ApiCalls::CurlPost($data, $url);
$result = json_decode($result, true);
dump($result);
// dump($result);
$data = [
'page_title' => 'Permits Page',
@ -51,7 +51,7 @@ class PermitsController extends Controller
]);
$result = ApiCalls::CurlPost($data, $url);
$result = json_decode($result, true);
dump($result);
// dump($result['data']);
$data = [
'page_title' => 'Permits Details',
'permit_arr' => $result['data'][0],

View File

@ -0,0 +1,22 @@
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
class TrustProxies
{
protected $proxies = '*';
/**
* Handle an incoming request.
*
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
*/
public function handle(Request $request, Closure $next): Response
{
return $next($request);
}
}

View File

@ -9,16 +9,10 @@ class AppServiceProvider extends ServiceProvider
/**
* Register any application services.
*/
public function register(): void
public function boot()
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
if (config('app.env') === 'production') {
URL::forceScheme('https');
}
}
}

View File

@ -55,7 +55,7 @@
@csrf
<input type="hidden" class="userIdinput" value="<?php echo $row['ua_id'] ?>" name="userId">
<a href="" data-bs-toggle="modal" data-bs-target="#viewUserModal" ><img src="{{ url('public/assets/libs/bootstrap-icons/eye.svg') }}" alt="view icon" width="16" height="16"></a>
<!-- <a href="" data-bs-toggle="modal" data-bs-target="#viewUserModal" ><img src="{{ url('public/assets/libs/bootstrap-icons/eye.svg') }}" alt="view icon" width="16" height="16"></a> -->
<a href="" class="editUserBtn" data-bs-toggle="modal" data-bs-target="#editUserModal"><img src="{{ url('public/assets/libs/bootstrap-icons/pencil-square.svg') }}" alt="edit icon" width="16" height="16"></a>
</td>
</tr>
@ -77,8 +77,6 @@
@endsection
@section('page-js')
<script src="{{ url('public/assets/libs/select2/dist/js/select2.full.min.js') }}" type="text/javascript" ></script>
<script src="{{ url('public/assets/js/usermgt.js') }}" type="text/javascript" ></script>

View File

@ -14,7 +14,8 @@
<div class="col-md-12">
</div>
<p>One Fine Body</p>
<h3>User Details</h3>
<!-- <p>User Details</p> -->
</div>
</div>
</div>

View File

@ -64,7 +64,7 @@
<div class="row">
<div class="col-md-12">
<h6 class="detail-label">Project Description</h6>
<p class="detail-value">Proposed Single Storey Residential Facility</p>
<p class="detail-value"></p>
</div>
<div class="col-md-12">
<h6 class="detail-label">Name</h6>