This commit is contained in:
James Cole
2019-09-21 07:33:13 +02:00
parent 750b2360c3
commit 3aba7e1db7
11 changed files with 153 additions and 72 deletions

View File

@@ -61,7 +61,7 @@ class TransactionGroupFactory
$title = '' === $title ? null : $title;
if (null !== $title) {
$title = substr($title, 0, 255);
$title = substr($title, 0, 1000);
}
$group = new TransactionGroup;

View File

@@ -287,7 +287,7 @@ class TransactionJournalFactory
'transaction_type_id' => $type->id,
'bill_id' => $billId,
'transaction_currency_id' => $currency->id,
'description' => $description,
'description' => substr($description,0,1000),
'date' => $carbon->format('Y-m-d H:i:s'),
'order' => $order,
'tag_count' => 0,