bug fixes

This commit is contained in:
Hillel Coren 2014-02-20 16:31:46 +02:00
parent b67beba7b2
commit da29bd8900
4 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Invoice Ninja # Invoice Ninja
## Simple, Intuitive Invoicing ## Simple, Intuitive Invoicing
### [https://www.invoiceninja.com/rocksteady](https://www.invoiceninja.com/rocksteady) ### [https://www.invoiceninja.com](https://www.invoiceninja.com)
### Introduction ### Introduction
Most online invoicing sites are expensive. They shouldn't be. The aim of this project is to provide a free, open-source alternative. Additionally, the hope is this codebase will serve as a sample site for Laravel as well as other JavaScript technologies. Most online invoicing sites are expensive. They shouldn't be. The aim of this project is to provide a free, open-source alternative. Additionally, the hope is this codebase will serve as a sample site for Laravel as well as other JavaScript technologies.

View File

@ -11,9 +11,9 @@ abstract class Mailer {
'emails.'.$view.'_text' 'emails.'.$view.'_text'
]; ];
$view = 'emails.' . $view; //$view = 'emails.' . $view;
Mail::queue($view, $data, function($message) use ($toEmail, $fromEmail, $subject) Mail::queue($views, $data, function($message) use ($toEmail, $fromEmail, $subject)
{ {
$message->to($toEmail)->replyTo($fromEmail)->subject($subject); $message->to($toEmail)->replyTo($fromEmail)->subject($subject);
}); });

View File

@ -204,7 +204,7 @@ define('DEFAULT_INVOICE_NUMBER', '0001');
define('RECENTLY_VIEWED_LIMIT', 8); define('RECENTLY_VIEWED_LIMIT', 8);
define('LOGGED_ERROR_LIMIT', 100); define('LOGGED_ERROR_LIMIT', 100);
define('RANDOM_KEY_LENGTH', 32); define('RANDOM_KEY_LENGTH', 32);
define('MAX_NUM_CLIENTS', 2000); define('MAX_NUM_CLIENTS', 1000);
define('INVOICE_STATUS_DRAFT', 1); define('INVOICE_STATUS_DRAFT', 1);
define('INVOICE_STATUS_SENT', 2); define('INVOICE_STATUS_SENT', 2);

View File

@ -439,7 +439,7 @@
*/ */
@endif @endif
@if (Session::has('message')) @if (false && Session::has('message'))
setTimeout(function() { setTimeout(function() {
$('.alert-info').fadeOut(); $('.alert-info').fadeOut();
}, 3000); }, 3000);