protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            _invoice = await _db.Invoices
                       .Include(x => x.Currency)
                       .Include(x => x.IssuerCurrency)
                       .Include(x => x.DisplayCurrency)
                       .Include(x => x.Items)
                       .Include(x => x.Client)
                       .Include(x => x.Issuer)
                       .Include(x => x.Account)
                       .SingleOrDefaultAsync(x => x.Id == Id);

            if (_invoice != null && _invoice.Client != null)
            {
                _t = LocalizationFactory.Print(_invoice.Client.Locale);
            }
        }