mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Limited account search
This commit is contained in:
parent
769465542d
commit
ec7fd5ff0c
@ -275,6 +275,7 @@
|
|||||||
@if (Auth::check() && Auth::user()->account->custom_client_label1)
|
@if (Auth::check() && Auth::user()->account->custom_client_label1)
|
||||||
,{
|
,{
|
||||||
name: 'data',
|
name: 'data',
|
||||||
|
limit: 3,
|
||||||
display: 'value',
|
display: 'value',
|
||||||
source: searchData(data['{{ Auth::user()->account->custom_client_label1 }}'], 'tokens'),
|
source: searchData(data['{{ Auth::user()->account->custom_client_label1 }}'], 'tokens'),
|
||||||
templates: {
|
templates: {
|
||||||
@ -285,6 +286,7 @@
|
|||||||
@if (Auth::check() && Auth::user()->account->custom_client_label2)
|
@if (Auth::check() && Auth::user()->account->custom_client_label2)
|
||||||
,{
|
,{
|
||||||
name: 'data',
|
name: 'data',
|
||||||
|
limit: 3,
|
||||||
display: 'value',
|
display: 'value',
|
||||||
source: searchData(data['{{ Auth::user()->account->custom_client_label2 }}'], 'tokens'),
|
source: searchData(data['{{ Auth::user()->account->custom_client_label2 }}'], 'tokens'),
|
||||||
templates: {
|
templates: {
|
||||||
@ -295,6 +297,7 @@
|
|||||||
@foreach (['clients', 'contacts', 'invoices', 'quotes', 'navigation'] as $type)
|
@foreach (['clients', 'contacts', 'invoices', 'quotes', 'navigation'] as $type)
|
||||||
,{
|
,{
|
||||||
name: 'data',
|
name: 'data',
|
||||||
|
limit: 3,
|
||||||
display: 'value',
|
display: 'value',
|
||||||
source: searchData(data['{{ $type }}'], 'tokens', true),
|
source: searchData(data['{{ $type }}'], 'tokens', true),
|
||||||
templates: {
|
templates: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user