This code allows you to show a pop-up to print a "PDF" (rendered html) without first having to open the PDF viewer and requiring the user to press the print button.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Adapters; | |
use League\Flysystem\Config; | |
use League\Flysystem\AwsS3V3\AwsS3V3Adapter; | |
class EncryptedS3Adapter extends AwsS3V3Adapter | |
{ | |
public function write(string $path, string $contents, Config $config): void |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models\Support; | |
use App\Models\Tenant; | |
use Illuminate\Database\Eloquent\Relations\BelongsToMany; | |
use Spatie\Permission\Traits\HasRoles as SpatieHasRoles; | |
trait HasRoles | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers\Filament; | |
use App\Filament\AppPanel\Pages\Tenancy\EditTenantProfile; | |
use App\Filament\Pages\Auth\Login; | |
use App\Models\Tenant; | |
use Filament\Http\Middleware\Authenticate; | |
use Filament\Http\Middleware\DisableBladeIconComponents; | |
use Filament\Http\Middleware\DispatchServingFilamentEvent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\AppPanel\Pages\Tenancy; | |
use Filament\Forms\Components\TextInput; | |
use Filament\Forms\Form; | |
use Filament\Pages\Tenancy\EditTenantProfile as BaseEditTenantProfile; | |
class EditTenantProfile extends BaseEditTenantProfile | |
{ |
This code allows you to deeplink to resources inside relationmanagers.
Example URLs with deeplink:
- /app/example/ID?deeplink=book-view-id
- /app/example/ID?deeplink=car-edit-id
These links will open the resource with ID
and execute the specified action after mount on the relationmanagers record.