mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix tests
This commit is contained in:
parent
a9d4ca07a0
commit
ac5dfe3a1b
@ -323,10 +323,10 @@
|
||||
});
|
||||
|
||||
// show/hide buttons based on loaded values
|
||||
if ({{ $client->hasAddress() ? 'true' : 'false' }}) {
|
||||
if ({{ $client && $client->hasAddress() ? 'true' : 'false' }}) {
|
||||
$('#copyBillingDiv').show();
|
||||
}
|
||||
if ({{ $client->hasAddress(true) ? 'true' : 'false' }}) {
|
||||
if ({{ $client && $client->hasAddress(true) ? 'true' : 'false' }}) {
|
||||
$('#copyShippingDiv').show();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user