mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 11:12:43 +01:00
95f1d24b8f
* Refactor JS directory structure * Access Module relations from Parent entity
28 lines
487 B
PHP
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()
|
|
{
|
|
|
|
} |