mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-18 09:04:35 +01:00
bug fixes
This commit is contained in:
parent
056300c545
commit
a21aa75837
@ -168,6 +168,7 @@ HTML::macro('breadcrumbs', function() {
|
||||
unset($crumbs[$key]);
|
||||
}
|
||||
}
|
||||
$crumbs = array_values($crumbs);
|
||||
for ($i=0; $i<count($crumbs); $i++) {
|
||||
$crumb = trim($crumbs[$i]);
|
||||
if (!$crumb) continue;
|
||||
|
@ -13,7 +13,7 @@ var isIE = /*@cc_on!@*/false || !!document.documentMode; // At least IE6
|
||||
function generatePDF(invoice, checkMath) {
|
||||
|
||||
|
||||
console.log ('DESIGN:'+invoice.invoice_design_id);
|
||||
//console.log ('DESIGN:'+invoice.invoice_design_id);
|
||||
|
||||
report_id=invoice.invoice_design_id;
|
||||
|
||||
@ -481,6 +481,7 @@ function populateInvoiceComboboxes(clientId, invoiceId) {
|
||||
for (var i=0; i<list.length; i++) {
|
||||
var invoice = list[i];
|
||||
var client = clientMap[invoice.client.public_id];
|
||||
if (!client) continue; // client is deleted/archived
|
||||
$invoiceCombobox.append(new Option(invoice.invoice_number + ' - ' + invoice.invoice_status.name + ' - ' +
|
||||
getClientDisplayName(client) + ' - ' + formatMoney(invoice.amount, invoice.currency_id) + ' | ' +
|
||||
formatMoney(invoice.balance, invoice.currency_id), invoice.public_id));
|
||||
|
Loading…
Reference in New Issue
Block a user