Logging for showblob
This commit is contained in:
parent
183f2c0a61
commit
9b08972d64
|
|
@ -113,6 +113,10 @@ class InvoiceController extends Controller
|
||||||
|
|
||||||
$invitation = false;
|
$invitation = false;
|
||||||
|
|
||||||
|
if(!isset($data['entity_type'])){
|
||||||
|
nlog(array_merge(["showBlob"], $data));
|
||||||
|
}
|
||||||
|
|
||||||
match($data['entity_type'] ?? 'invoice') {
|
match($data['entity_type'] ?? 'invoice') {
|
||||||
'invoice' => $invitation = InvoiceInvitation::withTrashed()->find($data['invitation_id']), //@todo - sometimes this is false!!
|
'invoice' => $invitation = InvoiceInvitation::withTrashed()->find($data['invitation_id']), //@todo - sometimes this is false!!
|
||||||
'quote' => $invitation = QuoteInvitation::withTrashed()->find($data['invitation_id']),
|
'quote' => $invitation = QuoteInvitation::withTrashed()->find($data['invitation_id']),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue