Compare commits
5 Commits
feature/Fi
...
feature/Fi
| Author | SHA1 | Date | |
|---|---|---|---|
| ad70874bde | |||
| f798d05a3c | |||
| 96960f5e8f | |||
| 3ca710228f | |||
| a1bca2d80f |
@@ -46,7 +46,7 @@ class SendContractSmsNotification extends Command
|
|||||||
foreach ($contractSubItems as $key => $value) {
|
foreach ($contractSubItems as $key => $value) {
|
||||||
$message = "سلام،\n پروژه راهداری با کد یکتای {$value->unique_code} با مسئولیت شما، به مدت بیشتر از یک ماه به روزرسانی نشده است. لطفا نسبت به روز رسانی دقیق پیشرفت پروژه در سامانه اقدام نمایید.\n rms.rmto.ir";
|
$message = "سلام،\n پروژه راهداری با کد یکتای {$value->unique_code} با مسئولیت شما، به مدت بیشتر از یک ماه به روزرسانی نشده است. لطفا نسبت به روز رسانی دقیق پیشرفت پروژه در سامانه اقدام نمایید.\n rms.rmto.ir";
|
||||||
|
|
||||||
self::sms_sender($value->operator_phone, $message);
|
// self::sms_sender($value->operator_phone, $message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ enum MissionStates: int
|
|||||||
public static function name(int $state): string
|
public static function name(int $state): string
|
||||||
{
|
{
|
||||||
$mapArray = [
|
$mapArray = [
|
||||||
1 => 'درخواست ایجاد شد و در حال بررسی توسط واحد نقلیه است',
|
1 => 'درخواست ایجاد شد و در حال بررسی توسط واحد تایید کننده است',
|
||||||
2 => 'خودرو اختصاص داده شد و درخواست توسط واحد کنترل در حال بررسی است',
|
2 => 'خودرو اختصاص داده شد و درخواست توسط واحد کنترل در حال بررسی است',
|
||||||
3 => 'درخواست توسط واحد کنترل تایید شد و ماموریت آغاز می شود',
|
3 => 'درخواست توسط واحد کنترل تایید شد و ماموریت آغاز می شود',
|
||||||
4 => 'اتمام ماموریت',
|
4 => 'اتمام ماموریت',
|
||||||
5 => 'عدم تخصیص خودرو توسط واحد نقلیه و بازگشت درخواست به کارتابل کاربر',
|
5 => 'عدم تخصیص خودرو توسط واحد تایید کننده و بازگشت درخواست به کارتابل کاربر',
|
||||||
6 => 'ماموریت لغو شد',
|
6 => 'ماموریت لغو شد',
|
||||||
7 => 'ماموریت بدون فرایند ثبت شد'
|
7 => 'ماموریت بدون فرایند ثبت شد'
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -12,28 +12,28 @@ class SmsClass
|
|||||||
{
|
{
|
||||||
public function sendSms($mobile, $msg)
|
public function sendSms($mobile, $msg)
|
||||||
{
|
{
|
||||||
if (App::environment('production')) {
|
// if (App::environment('production')) {
|
||||||
|
//
|
||||||
|
//
|
||||||
$client = new SoapClient("http://172.30.5.36/webservice/sms.asmx?WSDL");
|
// $client = new SoapClient("http://172.30.5.36/webservice/sms.asmx?WSDL");
|
||||||
$date = date('d-m-y h:i:s');
|
// $date = date('d-m-y h:i:s');
|
||||||
$date = str_replace(" ", "T", $date);
|
// $date = str_replace(" ", "T", $date);
|
||||||
$result = $client->Send(
|
// $result = $client->Send(
|
||||||
array(
|
// array(
|
||||||
'Username' => 'admin',
|
// 'Username' => 'admin',
|
||||||
'Password' => 'admin141',
|
// 'Password' => 'admin141',
|
||||||
'ShortCode' => '1000141',
|
// 'ShortCode' => '1000141',
|
||||||
'Cellphones' => $mobile,
|
// 'Cellphones' => $mobile,
|
||||||
'Message' => $msg,
|
// 'Message' => $msg,
|
||||||
'Farsi' => true,
|
// 'Farsi' => true,
|
||||||
// 'SendDate' => $date
|
// // 'SendDate' => $date
|
||||||
// 'uTopic' => false,
|
// // 'uTopic' => false,
|
||||||
// 'uFlash' => false
|
// // 'uFlash' => false
|
||||||
)
|
// )
|
||||||
);
|
// );
|
||||||
|
//
|
||||||
return $result->SendResult;
|
// return $result->SendResult;
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
// $client = new SoapClient("http://sms1000.ir/webservice/smspro.asmx?WSDL");
|
// $client = new SoapClient("http://sms1000.ir/webservice/smspro.asmx?WSDL");
|
||||||
|
|||||||
@@ -609,25 +609,25 @@ class ContractSubItemsController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sms_sender($mobile, $msg)
|
// public function sms_sender($mobile, $msg)
|
||||||
{
|
// {
|
||||||
$client=new SoapClient("http://sms1000.ir/webservice/smspro.asmx?WSDL");
|
// $client=new SoapClient("http://sms1000.ir/webservice/smspro.asmx?WSDL");
|
||||||
$result=$client->doSendSMS(
|
// $result=$client->doSendSMS(
|
||||||
array(
|
// array(
|
||||||
'uUsername' => 'rmto',
|
// 'uUsername' => 'rmto',
|
||||||
'uPassword' => 'Rahdari8
|
// 'uPassword' => 'Rahdari8
|
||||||
',
|
// ',
|
||||||
'uNumber' => '1000141',
|
// 'uNumber' => '1000141',
|
||||||
'uCellphones' => $mobile,
|
// 'uCellphones' => $mobile,
|
||||||
'uMessage' => $msg,
|
// 'uMessage' => $msg,
|
||||||
'uFarsi' => true,
|
// 'uFarsi' => true,
|
||||||
'uTopic' => false,
|
// 'uTopic' => false,
|
||||||
'uFlash' => false
|
// 'uFlash' => false
|
||||||
)
|
// )
|
||||||
);
|
// );
|
||||||
$x = $result->doSendSMSResult;
|
// $x = $result->doSendSMSResult;
|
||||||
return $x;
|
// return $x;
|
||||||
}
|
// }
|
||||||
|
|
||||||
public function get_way_id_from_nominatim($lat, $lng)
|
public function get_way_id_from_nominatim($lat, $lng)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -434,6 +434,7 @@ class UserController extends Controller
|
|||||||
|
|
||||||
$user->password = Hash::make($request->password);
|
$user->password = Hash::make($request->password);
|
||||||
$user->national_code = $request->national_code;
|
$user->national_code = $request->national_code;
|
||||||
|
$user->station_id = $request->station_id;
|
||||||
$user->save();
|
$user->save();
|
||||||
|
|
||||||
if (auth()->user()) {
|
if (auth()->user()) {
|
||||||
|
|||||||
@@ -70,19 +70,20 @@ class ControlUnitController extends Controller
|
|||||||
'state_name' => MissionStates::name($state),
|
'state_name' => MissionStates::name($state),
|
||||||
'finish_time' => $request->time,
|
'finish_time' => $request->time,
|
||||||
'mission_duration' => strtotime($request->time) - strtotime($mission->start_time),
|
'mission_duration' => strtotime($request->time) - strtotime($mission->start_time),
|
||||||
|
'end_km' => $request->end_km,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$getErrorRateService->setInputParameters($mission);
|
// $getErrorRateService->setInputParameters($mission);
|
||||||
$responseData = $getErrorRateService->run();
|
// $responseData = $getErrorRateService->run();
|
||||||
|
//
|
||||||
$mission->update([
|
// $mission->update([
|
||||||
'in_area_duration' => $responseData['timeInAreaSeconds'],
|
// 'in_area_duration' => $responseData['timeInAreaSeconds'],
|
||||||
'first_enter' => $responseData['firstEnter'],
|
// 'first_enter' => $responseData['firstEnter'],
|
||||||
'last_exit' => $responseData['lastExit'],
|
// 'last_exit' => $responseData['lastExit'],
|
||||||
'point_number_sent' => $responseData['noOfPointsInMission'],
|
// 'point_number_sent' => $responseData['noOfPointsInMission'],
|
||||||
'fms_result_code' => $responseData['resultCode'],
|
// 'fms_result_code' => $responseData['resultCode'],
|
||||||
'fms_result_message' => FMSResultCode::name($responseData['resultCode']),
|
// 'fms_result_message' => FMSResultCode::name($responseData['resultCode']),
|
||||||
]);
|
// ]);
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($mission->category_id == 2) {
|
if ($mission->category_id == 2) {
|
||||||
|
|||||||
@@ -38,6 +38,15 @@ class RoadMaintenanceStationController extends Controller
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function findByCity(Request $request): JsonResponse
|
||||||
|
{
|
||||||
|
$stations = RahdariPoint::query()
|
||||||
|
->where('city_id', $request->query('city_id'))
|
||||||
|
->get();
|
||||||
|
|
||||||
|
return $this->successResponse($stations);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Store a newly created resource in storage.
|
* Store a newly created resource in storage.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ class FinishRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'time' => 'required|date',
|
'time' => 'required|date',
|
||||||
|
'end_km' => 'required',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ class ReportTradodService
|
|||||||
-1 AS province_id,
|
-1 AS province_id,
|
||||||
COUNT(m.id) AS total,
|
COUNT(m.id) AS total,
|
||||||
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.in_area_duration), 0)) AS gps,
|
COALESCE(SUM(m.in_area_duration)/3600, 0) AS gps,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.mission_duration), 0)) AS durations,
|
COALESCE(SUM(m.mission_duration)/3600, 0) AS durations,
|
||||||
COALESCE(SUM(CASE WHEN m.type = 1 THEN 1 ELSE 0 END), 0) AS far_h,
|
COALESCE(SUM(CASE WHEN m.type = 1 THEN 1 ELSE 0 END), 0) AS far_h,
|
||||||
COALESCE(SUM(CASE WHEN m.type = 2 THEN 1 ELSE 0 END), 0) AS far_d,
|
COALESCE(SUM(CASE WHEN m.type = 2 THEN 1 ELSE 0 END), 0) AS far_d,
|
||||||
COALESCE(SUM(CASE WHEN m.type = 3 THEN 1 ELSE 0 END), 0) AS un_far_h,
|
COALESCE(SUM(CASE WHEN m.type = 3 THEN 1 ELSE 0 END), 0) AS un_far_h,
|
||||||
@@ -56,8 +56,8 @@ class ReportTradodService
|
|||||||
p.id AS province_id,
|
p.id AS province_id,
|
||||||
COUNT(m.id) AS total,
|
COUNT(m.id) AS total,
|
||||||
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.in_area_duration), 0)) AS gps,
|
COALESCE(SUM(m.in_area_duration)/3600, 0) AS gps,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.mission_duration), 0)) AS durations,
|
COALESCE(SUM(m.mission_duration)/3600, 0) AS durations,
|
||||||
COALESCE(SUM(CASE WHEN m.type = 1 THEN 1 ELSE 0 END), 0) AS far_h,
|
COALESCE(SUM(CASE WHEN m.type = 1 THEN 1 ELSE 0 END), 0) AS far_h,
|
||||||
COALESCE(SUM(CASE WHEN m.type = 2 THEN 1 ELSE 0 END), 0) AS far_d,
|
COALESCE(SUM(CASE WHEN m.type = 2 THEN 1 ELSE 0 END), 0) AS far_d,
|
||||||
COALESCE(SUM(CASE WHEN m.type = 3 THEN 1 ELSE 0 END), 0) AS un_far_h,
|
COALESCE(SUM(CASE WHEN m.type = 3 THEN 1 ELSE 0 END), 0) AS un_far_h,
|
||||||
@@ -98,8 +98,8 @@ class ReportTradodService
|
|||||||
-1 AS city_id,
|
-1 AS city_id,
|
||||||
COUNT(m.id) AS total,
|
COUNT(m.id) AS total,
|
||||||
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.in_area_duration), 0)) AS gps,
|
COALESCE(SUM(m.in_area_duration)/3600, 0) AS gps,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.mission_duration), 0)) AS durations,
|
COALESCE(SUM(m.mission_duration)/3600, 0) AS durations,
|
||||||
COALESCE(SUM(m.type = 1), 0) AS far_h,
|
COALESCE(SUM(m.type = 1), 0) AS far_h,
|
||||||
COALESCE(SUM(m.type = 2), 0) AS far_d,
|
COALESCE(SUM(m.type = 2), 0) AS far_d,
|
||||||
COALESCE(SUM(m.type = 3), 0) AS un_far_h,
|
COALESCE(SUM(m.type = 3), 0) AS un_far_h,
|
||||||
@@ -118,8 +118,8 @@ class ReportTradodService
|
|||||||
c.id AS city_id,
|
c.id AS city_id,
|
||||||
COUNT(m.id) AS total,
|
COUNT(m.id) AS total,
|
||||||
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
COALESCE(SUM(m.mission_duration != m.in_area_duration), 0) AS khareg_mahdode,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.in_area_duration), 0)) AS gps,
|
COALESCE(SUM(m.in_area_duration)/3600, 0) AS gps,
|
||||||
SEC_TO_TIME(COALESCE(SUM(m.mission_duration), 0)) AS durations,
|
COALESCE(SUM(m.mission_duration)/3600, 0) AS durations,
|
||||||
COALESCE(SUM(m.type = 1), 0) AS far_h,
|
COALESCE(SUM(m.type = 1), 0) AS far_h,
|
||||||
COALESCE(SUM(m.type = 2), 0) AS far_d,
|
COALESCE(SUM(m.type = 2), 0) AS far_d,
|
||||||
COALESCE(SUM(m.type = 3), 0) AS un_far_h,
|
COALESCE(SUM(m.type = 3), 0) AS un_far_h,
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class PaymentService
|
|||||||
);
|
);
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
curl_setopt($ch, CURLOPT_URL, "http://payment.rmto.ir/acc/rest/payid/gen");
|
curl_setopt($ch, CURLOPT_URL, "https://payment.rmto.ir/acc/rest/payid/gen");
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
curl_setopt($ch, CURLOPT_POST, true);
|
curl_setopt($ch, CURLOPT_POST, true);
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
|
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
|
||||||
@@ -59,7 +59,7 @@ class PaymentService
|
|||||||
);
|
);
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
curl_setopt($ch, CURLOPT_URL, "http://payment.rmto.ir/acc/rest/payid/track2/" . env("PAYMENT_USERNAME") . "/" . env("PAYMENT_PASSWORD") . "/" . $bill_code);
|
curl_setopt($ch, CURLOPT_URL, "https://payment.rmto.ir/acc/rest/payid/track2/" . env("PAYMENT_USERNAME") . "/" . env("PAYMENT_PASSWORD") . "/" . $bill_code);
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
// curl_setopt($ch, CURLOPT_POST, true);
|
// curl_setopt($ch, CURLOPT_POST, true);
|
||||||
// curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
|
// curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
<?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::table('missions', function (Blueprint $table) {
|
||||||
|
$table->string('end_km')->nullable();
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::table('missions', function (Blueprint $table) {
|
||||||
|
$table->dropColumn('end_km');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -125,11 +125,13 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(".letter-body").find("#accident_date").text(moment(jsonServer.data.accident_date).format(
|
$(".letter-body").find("#accident_date").text(moment(jsonServer.data.accident_date).format(
|
||||||
"jYYYY/jMM/jDD"));
|
"jYYYY/jMM/jDD"));
|
||||||
const plaque = jsonServer.data.plaque.split("-");
|
const plaque = jsonServer?.data?.plaque?.split("-");
|
||||||
|
if (plaque) {
|
||||||
$("#plaque1").text(plaque[0]);
|
$("#plaque1").text(plaque[0]);
|
||||||
$("#plaque2").text(plaque[1]);
|
$("#plaque2").text(plaque[1]);
|
||||||
$("#plaque3").text(plaque[2]);
|
$("#plaque3").text(plaque[2]);
|
||||||
$("#plaque4").text(plaque[3]);
|
$("#plaque4").text(plaque[3]);
|
||||||
|
}
|
||||||
let row_counter;
|
let row_counter;
|
||||||
let i;
|
let i;
|
||||||
for (i = 0; i < damages.length; i++) {
|
for (i = 0; i < damages.length; i++) {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<button id="add_patrol" class="positive-cta float-left my-2" disabled>ثبت گشت</button>
|
<button id="add_patrol" class="positive-cta float-left my-2" disabled>ثبت گشت</button>
|
||||||
<!-- all modals -->
|
<!-- all modals -->
|
||||||
<!-- otp token -->
|
<!-- otp token -->
|
||||||
<div class="modal fade" id="otpToken_modal" tabindex="-1" role="dialog">
|
{{-- <div class="modal fade" id="otpToken_modal" tabindex="-1" role="dialog">--}}
|
||||||
<div class="modal-dialog modal-dialog-centered" role="document">
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header align-items-center">
|
<div class="modal-header align-items-center">
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{-- </div>--}}
|
||||||
<!-- end otp token -->
|
<!-- end otp token -->
|
||||||
<!-- user info -->
|
<!-- user info -->
|
||||||
<div class="modal fade" id="userInfo_modal" tabindex="-1" role="dialog">
|
<div class="modal fade" id="userInfo_modal" tabindex="-1" role="dialog">
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-4 px-2 form-group">
|
<div class="col-12 col-md-4 px-2 form-group">
|
||||||
<label for="user_phone">شماره مامور:</label>
|
<label for="user_phone">شماره مامور:</label>
|
||||||
<input type="number" class="form-control clean-input value-important" readonly autocomplete="off" name="user-phone" id="user_phone">
|
<input type="number" class="form-control clean-input value-important" autocomplete="off" name="user-phone" id="user_phone">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-4 px-2 form-group">
|
<div class="col-12 col-md-4 px-2 form-group">
|
||||||
<label for="plaque-number">شماره انتظامی وسیله نقلیه</label>
|
<label for="plaque-number">شماره انتظامی وسیله نقلیه</label>
|
||||||
|
|||||||
@@ -475,6 +475,7 @@ Route::prefix('road_maintenance_station')
|
|||||||
Route::get('/', 'index')->name('index')->middleware('permission:show-tollhouse|show-tollhouse-province');
|
Route::get('/', 'index')->name('index')->middleware('permission:show-tollhouse|show-tollhouse-province');
|
||||||
Route::post('/', 'store')->name('store');
|
Route::post('/', 'store')->name('store');
|
||||||
Route::get('/map', 'map')->name('map');
|
Route::get('/map', 'map')->name('map');
|
||||||
|
Route::get('/search_by_city', 'findByCity')->name('findByCity');
|
||||||
Route::get('/images/{rahdariPoint}', 'images')->name('images');
|
Route::get('/images/{rahdariPoint}', 'images')->name('images');
|
||||||
Route::get('/{rahdariPoint}', 'show')->name('show')->middleware('permission:show-tollhouse|show-tollhouse-province');
|
Route::get('/{rahdariPoint}', 'show')->name('show')->middleware('permission:show-tollhouse|show-tollhouse-province');
|
||||||
Route::post('/{rahdariPoint}', 'update')->name('update')->middleware('permission:edit-tollhouse|edit-tollhouse-province');
|
Route::post('/{rahdariPoint}', 'update')->name('update')->middleware('permission:edit-tollhouse|edit-tollhouse-province');
|
||||||
@@ -537,7 +538,7 @@ Route::prefix('missions')
|
|||||||
});
|
});
|
||||||
Route::prefix('report_violation')
|
Route::prefix('report_violation')
|
||||||
->name('reportsViolation.')
|
->name('reportsViolation.')
|
||||||
->middleware(['permission:mission-report-province', 'permission:mission-report-country'])
|
->middleware(['permission:mission-report-province|permission:mission-report-country'])
|
||||||
->controller(ReportViolationController::class)
|
->controller(ReportViolationController::class)
|
||||||
->group(function () {
|
->group(function () {
|
||||||
Route::get('/country_activity', 'countryActivity')->name('countryActivity');
|
Route::get('/country_activity', 'countryActivity')->name('countryActivity');
|
||||||
@@ -547,7 +548,7 @@ Route::prefix('missions')
|
|||||||
});
|
});
|
||||||
Route::prefix('report_taradod')
|
Route::prefix('report_taradod')
|
||||||
->name('reportsTaradod.')
|
->name('reportsTaradod.')
|
||||||
->middleware(['permission:mission-report-province', 'permission:mission-report-country'])
|
->middleware(['permission:mission-report-province|permission:mission-report-country'])
|
||||||
->controller(ReportTradodController::class)
|
->controller(ReportTradodController::class)
|
||||||
->group(function () {
|
->group(function () {
|
||||||
Route::get('/country_activity', 'countryActivity')->name('countryActivity');
|
Route::get('/country_activity', 'countryActivity')->name('countryActivity');
|
||||||
|
|||||||
Reference in New Issue
Block a user