Added call later, option to limit auto mail so for a client person email you can limit which decision activity will be send to that specific email and moved SMS packages from admin panel to default app view

This commit is contained in:
Simon Pocrnjič
2026-03-08 21:42:39 +01:00
parent c16dd51199
commit b0d2aa93ab
32 changed files with 1103 additions and 174 deletions
@@ -12,7 +12,6 @@
use App\Models\SmsTemplate;
use App\Services\Contact\PhoneSelector;
use App\Services\Sms\SmsService;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Bus;
@@ -30,7 +29,7 @@ public function index(Request $request): Response
->latest('id')
->paginate($perPage);
return Inertia::render('Admin/Packages/Index', [
return Inertia::render('Packages/Index', [
'packages' => $packages,
]);
}
@@ -70,7 +69,7 @@ public function create(Request $request): Response
})
->values();
return Inertia::render('Admin/Packages/Create', [
return Inertia::render('Packages/Create', [
'profiles' => $profiles,
'senders' => $senders,
'templates' => $templates,
@@ -213,7 +212,7 @@ public function show(Package $package, SmsService $sms): Response
}
}
return Inertia::render('Admin/Packages/Show', [
return Inertia::render('Packages/Show', [
'package' => $package,
'items' => $items,
'preview' => $preview,