Merge branch 'feature/CheckController' into 'develop'

create route

See merge request witel-back-end/crm!23
This commit is contained in:
2025-08-11 13:42:21 +00:00
9 changed files with 34 additions and 22 deletions

View File

@@ -2,6 +2,7 @@ FROM docker.arvancloud.ir/php:8.3-fpm-alpine3.21
# Install common PHP extension dependencies
RUN apk update && apk add --no-cache \
git \
bash \
nano \
curl \
@@ -25,6 +26,7 @@ RUN chmod -R 777 /var/www/laravel/storage /var/www/laravel/bootstrap/cache
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
ENV COMPOSER_ALLOW_SUPERUSER=1
# Default command
CMD composer install \

Binary file not shown.

View File

@@ -21,18 +21,18 @@
<table>
<thead>
<tr>
<th colspan="7"
<th colspan="5"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{ now()->format('Y/m/d H:i') }}
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="5"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="5"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش کارتابل مکالمات کارشناسان
</th>

View File

@@ -21,18 +21,18 @@
<table>
<thead>
<tr>
<th colspan="7"
<th colspan="6"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{ now()->format('Y/m/d H:i') }}
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="6"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="6"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش کارتابل مکالمات کارشناسان
</th>

View File

@@ -21,18 +21,18 @@
<table>
<thead>
<tr>
<th colspan="7"
<th colspan="9"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{ now()->format('Y/m/d H:i') }}
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="9"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="9"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش کارتابل ارزیابی پیام های مردمی
</th>

View File

@@ -21,18 +21,18 @@
<table>
<thead>
<tr>
<th colspan="7"
<th colspan="9"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{ now()->format('Y/m/d H:i') }}
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="9"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="7"
<th colspan="9"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش کارتابل ارزیابی پیام های مردمی
</th>

View File

@@ -21,18 +21,18 @@
<table>
<thead>
<tr>
<th colspan="3"
<th colspan="4"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{ now()->format('Y/m/d H:i') }}
</th>
</tr>
<tr>
<th colspan="3"
<th colspan="4"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="3"
<th colspan="4"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش کارتابل ارزیابی پیام های سیستمی
</th>

View File

@@ -21,18 +21,18 @@
<table>
<thead>
<tr>
<th colspan="6"
<th colspan="7"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{ now()->format('Y/m/d H:i') }}
</th>
</tr>
<tr>
<th colspan="6"
<th colspan="7"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="6"
<th colspan="7"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش کارتابل ارزیابی پیام های سیستمی
</th>

View File

@@ -13,6 +13,7 @@ use App\Http\Controllers\HeadquartersDashboard\CumulativeCentersStatsController;
use App\Http\Controllers\HeadquartersDashboard\CumulativeKeypressStatsController;
use App\Http\Controllers\HeadquartersDashboard\CumulativeMessageRatingStatsController;
use App\Http\Controllers\HeadquartersDashboard\CumulativeVoiceRatingStatsController;
use App\Http\Controllers\ProvinceDashboard\ReportController;
use App\Http\Controllers\ProvinceDashboard\VerifyAuthenticationController;
use App\Http\Middleware\SuperAdminCheck;
use Illuminate\Support\Facades\Route;
@@ -130,6 +131,7 @@ Route::prefix('server')->group(function () {
->group(function () {
Route::get('/', 'index')->name('index');
});
Route::middleware('auth')
->prefix('dialogs')
->name('dialogs.')
@@ -140,9 +142,7 @@ Route::prefix('server')->group(function () {
->group(function () {
Route::get('/', 'index')->name('index');
Route::get('/excel', 'excel')->name('excel');
Route::get('/{operatorDialogue','show')->name('show');
Route::get('/{operatorDialogue}','show')->name('show');
});
Route::prefix('supervisor')
->name('supervisor.')
@@ -152,7 +152,6 @@ Route::prefix('server')->group(function () {
Route::get('/excel', 'excel')->name('excel');
Route::post('/rate/{operatorDialogue}', 'rate')->name('rate');
Route::get('/{operatorDialogue}', 'show')->name('show');
});
});
@@ -219,4 +218,15 @@ Route::prefix('server')->group(function () {
->group(function () {
Route::get('/', 'login')->name('login');
});
Route::middleware('auth')
->prefix('report')
->name('report.')
->controller(ReportController::class)
->group(function () {
Route::get('/cumulative', 'cumulative')->name('cumulative');
Route::get('/people_messages', 'peopleMessages')->name('peopleMessages');
Route::get('/detailed_logs', 'detailedLogs')->name('detailedLogs');
Route::get('/operator_performance_daily', 'operatorPerformanceDaily')->name('operatorPerformanceDaily');
Route::get('/operator_performance_total', 'operatorPerformanceTotal')->name('operatorPerformanceTotal');
});
});