'hrm', /* * Package. */ 'package' => 'invoice', /* * Modules. */ 'modules' => ['invoice'], 'invoice' => [ 'model' => [ 'model' => \Hrm\Invoice\Models\Invoice::class, 'table' => 'invoices', 'presenter' => \Hrm\Invoice\Repositories\Presenter\InvoicePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'user_type', 'invoicable_id', 'invoicable_type', 'reference', 'weekend', 'created_on', 'due_date', 'status', 'amount', 'balance_due', 'details', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'invoice/invoice', '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' => 'Hrm', 'package' => 'Invoice', 'module' => 'Invoice', ], ], ];