'urdtlv', /* * Package. */ 'package' => 'clientpay', /* * Modules. */ 'modules' => ['client_pay', 'client_order'], 'client_pay' => [ 'model' => [ 'model' => \Urdtlv\Clientpay\Models\ClientPay::class, 'table' => 'client_pays', 'presenter' => \Urdtlv\Clientpay\Repositories\Presenter\ClientPayPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['user_id', 'user_type', 'amount', 'date', 'status'], 'translatables' => [], 'upload_folder' => 'clientpay/client_pay', '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' => 'Urdtlv', 'package' => 'Clientpay', 'module' => 'ClientPay', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "ClientPay created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "ClientPay completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "ClientPay verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "ClientPay approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "ClientPay published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "ClientPay unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "ClientPay archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "ClientPay deleted", 'status' => ['delete', 'archive'], ], ], ], ], 'client_order' => [ 'model' => [ 'model' => \Urdtlv\Clientpay\Models\ClientOrder::class, 'table' => 'client_orders', 'presenter' => \Urdtlv\Clientpay\Repositories\Presenter\ClientOrderPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['user_id', 'user_type', 'created_at_init', 'created_at_normalize', 'cost', 'mark_up', 'discount', 'order_type', 'order_count', 'reminder_type', 'reminder_count', 'accounts', 'status'], 'translatables' => [], 'upload_folder' => 'clientpay/client_order', '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' => 'Urdtlv', 'package' => 'Clientpay', 'module' => 'ClientOrder', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "ClientOrder created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "ClientOrder completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "ClientOrder verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "ClientOrder approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "ClientOrder published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "ClientOrder unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "ClientOrder archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "ClientOrder deleted", 'status' => ['delete', 'archive'], ], ], ], ], ];