Minor bug fixes
This commit is contained in:
parent
fac4b6a7aa
commit
555245be33
2 changed files with 7 additions and 1 deletions
|
|
@ -35,11 +35,13 @@ class QuoteController extends \BaseController {
|
|||
'columns'=>Utils::trans(['checkbox', 'quote_number', 'client', 'quote_date', 'quote_total', 'due_date', 'status', 'action'])
|
||||
];
|
||||
|
||||
/*
|
||||
if (Invoice::scope()->where('is_recurring', '=', true)->count() > 0)
|
||||
{
|
||||
$data['secEntityType'] = ENTITY_RECURRING_INVOICE;
|
||||
$data['secColumns'] = Utils::trans(['checkbox', 'frequency', 'client', 'start_date', 'end_date', 'quote_total', 'action']);
|
||||
}
|
||||
*/
|
||||
|
||||
return View::make('list', $data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -422,10 +422,14 @@ class AddInvoiceDesignTable extends Migration {
|
|||
var account = invoice.account;
|
||||
var currencyId = client.currency_id;
|
||||
|
||||
layout.accountTop += 25;
|
||||
layout.headerTop += 25;
|
||||
layout.tableTop += 25;
|
||||
|
||||
if (invoice.image)
|
||||
{
|
||||
var left = layout.headerRight - invoice.imageWidth;
|
||||
doc.addImage(invoice.image, 'JPEG', left, 30);
|
||||
doc.addImage(invoice.image, 'JPEG', left, 50);
|
||||
}
|
||||
|
||||
/* table header */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue