1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/Modules/Notes/Http/ViewComposers/ClientEditComposer.php
David Bomba 95f1d24b8f
Access module relations from parent (#2553)
* Refactor JS directory structure

* Access Module relations from Parent entity
2018-12-13 22:01:33 +11:00

28 lines
487 B
PHP

<?php
namespace Modules\Notes\Http\ViewComposers;
use App\Utils\Traits\UserSessionAttributes;
use Illuminate\View\View;
class ClientEditComposer
{
use UserSessionAttributes;
/**
* Bind data to the view.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
$data = $view->getData();
$view->with('notes::edit', $this->clientEditData);
}
private function clientEditData()
{
}