Skip to content

Releases: tomatophp/filament-accounts

v2.1.0

02 Sep 15:10
Compare
Choose a tag to compare
  • Add Dynamic Types For Account
  • Add Dynamic Types For Account Requests
  • Add Dynamic Types For Contact Us Status
  • Use Export & Import Actions
  • Use Account Locations on SaaS Panel
  • Use Account Requests on SaaS Panel
  • Use Account Contact Us on SaaS Panel

Use Export & Import Actions

before use Export & Import actions you need to install laravel excel package

composer require maatwebsite/excel

now on your main panel provider add ->useExport() , ->useImport() to the plugin

->plugin(\TomatoPHP\FilamentAccounts\FilamentAccountsPlugin::make()
    ...
    ->useExport()
    ->useImport()
)

Use Account Locations on SaaS Panel

you can make your account manage the locations by using this code

->plugin(
    FilamentAccountsSaaSPlugin::make()
        ->canManageAddress()
)

it will add Edit Locations menu to the tenant menu and the accounts can manage there locations

Use Account Requests on SaaS Panel

you can manage account requests by using this code

use TomatoPHP\FilamentAccounts\Services\Contracts\AccountRequestForm;

->plugin(
    FilamentAccountsSaaSPlugin::make()
        ->canManageRequests(form: [
            AccountRequestForm::make('account_approve')
                ->schema([
                    TextInput::make('name')
                        ->label('Name')
                        ->required(),
                ]),
            AccountRequestForm::make('account_verify')
                ->schema([
                    TextInput::make('id')
                        ->label('ID')
                        ->numeric()
                        ->minLength(14)
                        ->maxLength(14)
                        ->required(),
                ])
        ])
        ->useTypes()
)

as you see you can select a form the every request type.

Use Account Contact Us on SaaS Panel

you can manage account contact us by using this code

->plugin(
    FilamentAccountsSaaSPlugin::make()
        ->showContactUsButton()
)

or you can use it anywhere on your app by using the livewire component

@livewire('tomato-contact-us-form')

Full Changelog: v2.0.11...v2.1.0

v2.0.11

28 Aug 15:20
Compare
Choose a tag to compare
  • add Export/Import Actions by @3x1io

Full Changelog: v2.0.10...v2.0.11

v2.0.10

27 Aug 14:22
914739d
Compare
Choose a tag to compare

What's Changed

  • fix contacts route and login by @megoxv in #2

New Contributors

  • @megoxv made their first contribution in #2

Full Changelog: v2.0.9...v2.0.10

v2.0.9

27 Aug 14:02
Compare
Choose a tag to compare

Full Changelog: v2.0.8...v2.0.9

v2.0.8

26 Aug 15:27
Compare
Choose a tag to compare

Full Changelog: v2.0.7...v2.0.8

v2.0.7

21 Jul 13:12
Compare
Choose a tag to compare

v2.0.6

16 Jul 14:08
Compare
Choose a tag to compare
  • fix team settings and invitation

Full Changelog: v2.0.5...v2.0.6

v2.0.5

15 Jul 15:47
Compare
Choose a tag to compare
  • fix SaaS login
  • fix SaaS Register when the OTP is disabled
  • fix Edit Team Page
  • add is_login to edit account

Full Changelog: v2.0.4...v2.0.5

v2.0.4

15 Jul 13:27
Compare
Choose a tag to compare
  • require laravel/sanctum for account API

Full Changelog: v2.0.3...v2.0.4

v2.0.3

15 Jul 08:49
Compare
Choose a tag to compare
  • disable types from config.

Full Changelog: v2.0.2...v2.0.3