mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Logging
This commit is contained in:
parent
90c6f4a48c
commit
60d15f5d9f
@ -23,6 +23,12 @@ class BankTransaction extends BaseModel
|
||||
protected $dates = [
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'updated_at' => 'timestamp',
|
||||
'created_at' => 'timestamp',
|
||||
'deleted_at' => 'timestamp',
|
||||
];
|
||||
|
||||
public function getEntityType()
|
||||
{
|
||||
return self::class;
|
||||
|
@ -12,6 +12,7 @@
|
||||
namespace App\Models;
|
||||
|
||||
use App\DataMapper\CompanySettings;
|
||||
use App\Models\BankTransaction;
|
||||
use App\Models\Language;
|
||||
use App\Models\Presenters\CompanyPresenter;
|
||||
use App\Models\PurchaseOrder;
|
||||
|
@ -13,7 +13,6 @@ namespace App\Transformers;
|
||||
|
||||
use App\Models\Account;
|
||||
use App\Models\BankIntegration;
|
||||
use App\Models\BankTransaction;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +12,6 @@
|
||||
namespace App\Transformers;
|
||||
|
||||
use App\Models\Account;
|
||||
use App\Models\BankIntegration;
|
||||
use App\Models\BankTransaction;
|
||||
use App\Models\Company;
|
||||
use App\Models\Expense;
|
||||
|
@ -234,9 +234,6 @@ class CompanyTransformer extends EntityTransformer
|
||||
{
|
||||
$transformer = new BankTransactionTransformer($this->serializer);
|
||||
|
||||
nlog("GEEET");
|
||||
nlog($company->bank_transactions()->count());
|
||||
|
||||
return $this->includeCollection($company->bank_transactions, $transformer, BankTransaction::class);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user