'bixo', /* * Package. */ 'package' => 'account', /* * Modules. */ 'modules' => ['escrow', 'escrow_details'], 'escrow' => [ 'model' => [ 'model' => \Bixo\Account\Models\Escrow::class, 'table' => 'escrows', 'presenter' => \Bixo\Account\Repositories\Presenter\EscrowPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'agent', 'location_id', 'sublocation_id', 'building_id', 'documents', 'notes', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'account/escrow', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Bixo', 'package' => 'Account', 'module' => 'Escrow', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Escrow created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Escrow completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Escrow verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Escrow approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Escrow published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Escrow unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Escrow archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Escrow deleted", 'status' => ['delete', 'archive'], ], ], ], ], 'escrow_details' => [ 'model' => [ 'model' => \Bixo\Account\Models\EscrowDetails::class, 'table' => 'escrow_details', 'presenter' => \Bixo\Account\Repositories\Presenter\EscrowDetailsPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'escrow_id', 'date', 'description', 'amount', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'account/escrow_details', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Bixo', 'package' => 'Account', 'module' => 'EscrowDetails', ], ], ];