bug fixes

This commit is contained in:
Hillel Coren 2014-03-10 08:10:08 +02:00
parent 1f5ba56f0f
commit 388ca323c8
8 changed files with 14 additions and 14 deletions

View File

@ -450,7 +450,7 @@ class AccountController extends \BaseController {
if ($validator->fails())
{
return Redirect::to('company/settings')
return Redirect::to('company/payments')
->withErrors($validator)
->withInput();
}

View File

@ -12,7 +12,7 @@
To view your client invoice click the link below: <br/>
{{ $invoiceLink }} <p/>
To adjust your email notification settings please <a href="http://www.invoiceninja.com/company/settings">click here</a>.
To adjust your email notification settings please <a href="http://www.invoiceninja.com/company/notifications">click here</a>.
</body>
</html>

View File

@ -6,4 +6,4 @@ A payment of {{ $paymentAmount }} was made by client {{ $clientName }} towards i
To view your client invoice click the link below:
{{ $invoiceLink }} <p/>
To adjust your email notification settings please visit http://www.invoiceninja.com/company/settings
To adjust your email notification settings please visit http://www.invoiceninja.com/company/notifications

View File

@ -9,7 +9,7 @@
The following client {{ $clientName }} was emailed Invoice {{ $invoiceNumber }} for {{ $invoiceAmount}}.<p/>
To adjust your email notification settings please <a href="http://www.invoiceninja.com/company/settings">click here</a>.<p/>
To adjust your email notification settings please <a href="http://www.invoiceninja.com/company/notifications">click here</a>.<p/>
</body>
</html>

View File

@ -2,4 +2,4 @@ Dear {{ $userName }},
The following client {{ $clientName }} was emailed Invoice {{ $invoiceNumber }} for {{ $invoiceAmount}}.
To adjust your email notification settings visit this link http://www.invoiceninja.com/company/settings
To adjust your email notification settings visit this link http://www.invoiceninja.com/company/notifications

View File

@ -9,7 +9,7 @@
The following client {{ $clientName }} viewed Invoice {{ $invoiceNumber }} for {{ $invoiceAmount}}.<p/>
To adjust your email notification settings please <a href="http://www.invoiceninja.com/company/settings">click here</a>.<p/>
To adjust your email notification settings please <a href="http://www.invoiceninja.com/company/notifications">click here</a>.<p/>
</body>
</html>

View File

@ -2,4 +2,4 @@ Dear {{ $userName }},
The following client {{ $clientName }} viewed Invoice {{ $invoiceNumber }} for {{ $invoiceAmount }}.
To adjust your email notification settings visit this link http://www.invoiceninja.com/company/settings
To adjust your email notification settings visit this link http://www.invoiceninja.com/company/notifications

View File

@ -1586,7 +1586,7 @@ function displayInvoiceItems(doc, invoice, layout) {
var qtyX = layout.qtyRight - (doc.getStringUnitWidth(qty) * doc.internal.getFontSize());
var taxX = layout.taxRight - (doc.getStringUnitWidth(tax+'%') * doc.internal.getFontSize());
var totalX = layout.lineTotalRight - (doc.getStringUnitWidth(lineTotal) * doc.internal.getFontSize());
if (i==0) y -= 4;
//if (i==0) y -= 4;
line += numLines;
@ -1629,18 +1629,18 @@ function displayInvoiceItems(doc, invoice, layout) {
} else {
SetPdfColor('Black', doc);
}
doc.text(layout.marginLeft, y, productKey);
doc.text(layout.marginLeft, y+2, productKey);
SetPdfColor('Black', doc);
doc.setFontType('normal');
doc.text(layout.descriptionLeft, y, notes);
doc.text(costX, y, cost);
doc.text(qtyX, y, qty);
doc.text(totalX, y, lineTotal);
doc.text(layout.descriptionLeft, y+2, notes);
doc.text(costX, y+2, cost);
doc.text(qtyX, y+2, qty);
doc.text(totalX, y+2, lineTotal);
if (tax) {
doc.text(taxX, y, tax+'%');
doc.text(taxX, y+2, tax+'%');
}
}