Fix notification error when creating sample data

This commit is contained in:
Burak Çakırel
2021-01-13 22:25:39 +03:00
parent c50c8acd75
commit eaf79b3a4b
3 changed files with 8 additions and 2 deletions

View File

@ -327,7 +327,7 @@ class Document extends AbstractFactory
case 'paid':
$payment_request = [
'paid_at' => $updated_document->due_at,
'type' => 'income',
'type' => config('type.' . $document->type . '.transaction_type'),
];
if ($init_status === 'partial') {