mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for tests
This commit is contained in:
parent
25699f43c7
commit
499c97c70a
@ -78,8 +78,7 @@ class DatatableService
|
||||
$dropdown_contents = '';
|
||||
|
||||
$lastIsDivider = false;
|
||||
//if (! $model->deleted_at || $model->deleted_at == '0000-00-00') {
|
||||
if (! $model->is_deleted) {
|
||||
if (! property_exists($model, 'is_deleted') || ! $model->is_deleted) {
|
||||
foreach ($datatable->actions() as $action) {
|
||||
if (count($action)) {
|
||||
// if show function isn't set default to true
|
||||
|
Loading…
x
Reference in New Issue
Block a user