mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
This commit is contained in:
@@ -112,6 +112,7 @@ class TransactionController extends Controller
|
|||||||
|
|
||||||
return response()
|
return response()
|
||||||
->json($this->jsonApiList('transactions', $paginator, new TransactionGroupTransformer()))
|
->json($this->jsonApiList('transactions', $paginator, new TransactionGroupTransformer()))
|
||||||
->header('Content-Type', self::CONTENT_TYPE);
|
->header('Content-Type', self::CONTENT_TYPE)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1083,7 +1083,8 @@ class GroupCollector implements GroupCollectorInterface
|
|||||||
// include budget ID + name (if any)
|
// include budget ID + name (if any)
|
||||||
->withBudgetInformation()
|
->withBudgetInformation()
|
||||||
// include bill ID + name (if any)
|
// include bill ID + name (if any)
|
||||||
->withBillInformation();
|
->withBillInformation()
|
||||||
|
;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
@@ -144,6 +144,7 @@ class JavascriptController extends Controller
|
|||||||
|
|
||||||
return response()
|
return response()
|
||||||
->view('v2.javascript.variables', $data)
|
->view('v2.javascript.variables', $data)
|
||||||
->header('Content-Type', 'text/javascript');
|
->header('Content-Type', 'text/javascript')
|
||||||
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -159,7 +159,7 @@ class CreateController extends Controller
|
|||||||
$oldActions = $this->getActionsForBill($bill);
|
$oldActions = $this->getActionsForBill($bill);
|
||||||
|
|
||||||
// restore actions and triggers from old input:
|
// restore actions and triggers from old input:
|
||||||
if (null !== $request->old()) {
|
if (null !== $request->old() && is_array($request->old()) && count($request->old()) > 0) {
|
||||||
$oldTriggers = $this->getPreviousTriggers($request);
|
$oldTriggers = $this->getPreviousTriggers($request);
|
||||||
$oldActions = $this->getPreviousActions($request);
|
$oldActions = $this->getPreviousActions($request);
|
||||||
}
|
}
|
||||||
|
@@ -824,7 +824,8 @@ class FireflyValidator extends Validator
|
|||||||
->where('trigger', $trigger)
|
->where('trigger', $trigger)
|
||||||
->where('response', $response)
|
->where('response', $response)
|
||||||
->where('delivery', $delivery)
|
->where('delivery', $delivery)
|
||||||
->where('url', $url)->count();
|
->where('url', $url)->count()
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user