Rebuild frontend, first working edit form (with feedback)

This commit is contained in:
James Cole
2021-03-21 20:38:44 +01:00
parent 1088a43866
commit 4affed8f68
31 changed files with 260 additions and 70 deletions

View File

@@ -116,5 +116,10 @@ class InterestingMessage
session()->flash('success_uri', route('transactions.show', [$transactionGroupId]));
session()->flash('success', (string)trans(sprintf('firefly.updated_%s', $type), ['description' => $title]));
}
if('no_change' === $message) {
$type = strtolower($journal->transactionType->type);
session()->flash('warning_uri', route('transactions.show', [$transactionGroupId]));
session()->flash('warning', (string)trans(sprintf('firefly.no_changes_%s', $type), ['description' => $title]));
}
}
}