Skip to content

Commit f6cc10d

Browse files
committed
Rev Form Decline & Config channel Telegram
1 parent c5973b7 commit f6cc10d

File tree

7 files changed

+388
-24
lines changed

7 files changed

+388
-24
lines changed

app/Http/Controllers/LeavesController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function leavesApprove3() {
147147
'leaves_admin.stat_app3')
148148
->where('leaves_admin.data_status','=','ACTIVE')
149149
->where('leaves_admin.stat_app2','=','Approve')
150-
->where('leaves_admin.stat_app3','=','Wait')
150+
->where('leaves_admin.category','=','CNP')
151151
->get();
152152

153153
return view('form.leavesapprove3', compact('leaves'));

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"barryvdh/laravel-dompdf": "^2.0",
1111
"brian2694/laravel-toastr": "^5.57",
1212
"guzzlehttp/guzzle": "^7.2",
13+
"irazasyed/telegram-bot-sdk": "^3.10",
1314
"laravel/framework": "^9.2",
1415
"laravel/sanctum": "^2.14.1",
1516
"laravel/tinker": "^2.7",

composer.lock

+144-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/app.php

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
*/
170170
Barryvdh\Debugbar\ServiceProvider::class,
171171
Yajra\DataTables\DataTablesServiceProvider::class,
172+
Telegram\Bot\Laravel\TelegramServiceProvider::class,
172173
/*
173174
* Application Service Providers...
174175
*/
@@ -199,5 +200,6 @@
199200
'Debugbar' => Barryvdh\Debugbar\Facades\Debugbar::class,
200201
])->toArray(),
201202
'DataTables' => Yajra\DataTables\Facades\DataTables::class,
203+
'Telegram' => Telegram\Bot\Laravel\Facades\Telegram::class,
202204

203205
];

0 commit comments

Comments
 (0)