mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor bug fixes
This commit is contained in:
parent
fac4b6a7aa
commit
555245be33
@ -35,11 +35,13 @@ class QuoteController extends \BaseController {
|
|||||||
'columns'=>Utils::trans(['checkbox', 'quote_number', 'client', 'quote_date', 'quote_total', 'due_date', 'status', 'action'])
|
'columns'=>Utils::trans(['checkbox', 'quote_number', 'client', 'quote_date', 'quote_total', 'due_date', 'status', 'action'])
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/*
|
||||||
if (Invoice::scope()->where('is_recurring', '=', true)->count() > 0)
|
if (Invoice::scope()->where('is_recurring', '=', true)->count() > 0)
|
||||||
{
|
{
|
||||||
$data['secEntityType'] = ENTITY_RECURRING_INVOICE;
|
$data['secEntityType'] = ENTITY_RECURRING_INVOICE;
|
||||||
$data['secColumns'] = Utils::trans(['checkbox', 'frequency', 'client', 'start_date', 'end_date', 'quote_total', 'action']);
|
$data['secColumns'] = Utils::trans(['checkbox', 'frequency', 'client', 'start_date', 'end_date', 'quote_total', 'action']);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return View::make('list', $data);
|
return View::make('list', $data);
|
||||||
}
|
}
|
||||||
|
@ -422,10 +422,14 @@ class AddInvoiceDesignTable extends Migration {
|
|||||||
var account = invoice.account;
|
var account = invoice.account;
|
||||||
var currencyId = client.currency_id;
|
var currencyId = client.currency_id;
|
||||||
|
|
||||||
|
layout.accountTop += 25;
|
||||||
|
layout.headerTop += 25;
|
||||||
|
layout.tableTop += 25;
|
||||||
|
|
||||||
if (invoice.image)
|
if (invoice.image)
|
||||||
{
|
{
|
||||||
var left = layout.headerRight - invoice.imageWidth;
|
var left = layout.headerRight - invoice.imageWidth;
|
||||||
doc.addImage(invoice.image, 'JPEG', left, 30);
|
doc.addImage(invoice.image, 'JPEG', left, 50);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* table header */
|
/* table header */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user