Make it easier to switch between v1/v2 layout.

This commit is contained in:
James Cole
2021-02-03 06:25:46 +01:00
parent 957e34a57a
commit 08fcff2a98
12 changed files with 42 additions and 42 deletions

View File

@@ -48,7 +48,7 @@ trait ModelInformation
protected function getActionsForBill(Bill $bill): array // get info and augument
{
try {
$result = view(
$result = prefixView(
'rules.partials.action',
[
'oldAction' => 'link_to_bill',
@@ -139,7 +139,7 @@ trait ModelInformation
];
foreach ($billTriggers as $index => $trigger) {
try {
$string = view(
$string = prefixView(
'rules.partials.trigger',
[
'oldTrigger' => $trigger,
@@ -257,7 +257,7 @@ trait ModelInformation
foreach ($journalTriggers as $index => $trigger) {
try {
$string = view(
$string = prefixView(
'rules.partials.trigger',
[
'oldTrigger' => $trigger,