GithubHelp home page GithubHelp logo

invoiceninja / invoiceninja Goto Github PK

View Code? Open in Web Editor NEW
7.7K 219.0 2.2K 3.63 GB

Invoices, Expenses and Tasks built with Laravel, Flutter and React

Home Page: https://invoiceninja.com

License: Other

PHP 95.06% HTML 1.15% Blade 3.75% JavaScript 0.03% TypeScript 0.01%
php expenses javascript invoices tasks laravel payments time-tracker kanban invoice

invoiceninja's Introduction

Sublime's custom image

v5-develop phpunit Codacy Badge CLA assistant

Invoice Ninja 5

Join us on Slack, Discord, Support Forum

Introduction

Version 5 of Invoice Ninja is here! We took the best parts of version 4 and add the most requested features to produce a invoicing application like no other.

All Pro and Enterprise features from the hosted app are included in the open code. We offer a $30 per year white-label license to remove the Invoice Ninja branding from client facing parts of the app.

Setup

Mobile Apps

Desktop Apps

Installation Options

Recommended Providers

Quick Hosting Setup

git clone --single-branch --branch v5-stable https://github.com/invoiceninja/invoiceninja.git
cp .env.example .env
composer i -o --no-dev
php artisan key:generate

Please Note: Your APP_KEY in the .env file is used to encrypt data, if you lose this you will not be able to run the application.

Run if you want to load sample data, remember to configure .env

php artisan migrate:fresh --seed && php artisan db:seed && php artisan ninja:create-test-data

To run the web server

php artisan serve 

Navigate to (replace localhost with the appropriate domain)

http://localhost:8000/setup - To setup your configuration if you did not load sample data.
http://localhost:8000/ - For Administrator Logon

user: [email protected]
pass: password

http://localhost:8000/client/login - For Client Portal

user: [email protected]
pass: password

Developers Guide

App Design

The API and client portal have been developed using Laravel if you wish to contribute to this project familiarity with Laravel is essential.

When inspecting functionality of the API, the best place to start would be in the routes/api.php file which describes all of the availabe API endpoints. The controller methods then describe all the entry points into each domain of the application, ie InvoiceController / QuoteController

The average API request follows this path into the application.

  • Middleware processes the request initially inspecting the domain being requested + provides the authentication layer.
  • The request then passes into a Form Request (Type hinted in the controller methods) which is used to provide authorization and also validation of the request. If successful, the request is then passed into the controller method where it is digested, here is an example:
public function store(StoreInvoiceRequest $request)
{

    $invoice = $this->invoice_repo->save($request->all(), InvoiceFactory::create(auth()->user()->company()->id, auth()->user()->id));

    $invoice = $invoice->service()
                        ->fillDefaults()
                        ->triggeredActions($request)
                        ->adjustInventory()
                        ->save();

    event(new InvoiceWasCreated($invoice, $invoice->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null)));

    return $this->itemResponse($invoice);

}

Here for example we are storing a new invoice, we pass the validated request along with a factory into the invoice repository where it is processed and saved.

The returned invoice then passes through its service class (app/Services/Invoice) where various actions are performed.

A event is then fired which notifies listeners in the application (app/Providers/EventServiceProvider) which perform non blocking sub tasks

Finally the invoice is transformed (app/Transformers/) and returned as a response via Fractal.

Developer environment

Using the Quick Hosting Setup describe above you can quickly get started building out your development environment. Instead of using

composer i -o --no-dev

use

composer i -o

This provides the developer tools including phpunit which allows the test suite to be run.

If you are considering contributing back to the main repository, please add in any tests for new functionality / modifications. This will greatly increase the chances of your PR being accepted

Also, if you plan any additions for the main repository, you may want to discuss this with us first on Slack where we can assist with any technical information and provide advice.

Credits

Security

If you find a security issue with this application, please send an email to [email protected]. Please follow responsible disclosure procedures if you detect an issue. For further information on responsible disclosure please read here.

License

Invoice Ninja is released under the Elastic License.
See LICENSE for details.

invoiceninja's People

Contributors

beganovich avatar checkitsedo avatar cirkan avatar danielkoch avatar datasolutionsbz avatar flole998 avatar hillelcoren avatar jasonlbeggs avatar joemasciantonio avatar joshuadwire avatar kevinpetit avatar kishanmnpatel avatar laravel-shift avatar larsk1 avatar lukasmu avatar lwj5 avatar maksimstojkovic avatar mause avatar michael-hampton avatar napsty avatar paulwer avatar robwent avatar striffly avatar talkstraightuk avatar tctlrd avatar theworstcomrade avatar turbo124 avatar willhaggerty avatar xeruf avatar yois615 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

invoiceninja's Issues

RuleWatchGraph.php (ln. 52) memory exhausted

I'm not sure if it's just my machine so I thought I'd share

On install from fresh copy I get the following error >

server:ninja.dev Adam$ sudo composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in phar:///usr/local/Cellar/composer/1.0.0-alpha8/libexec/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in phar:///usr/local/Cellar/composer/1.0.0-alpha8/libexec/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52

I tried three times and each returns the same error.


Stats

homebrew 0.9.5
PHP 5.4.24
composer 1.0.0-alpha8 (installed via brew, hence the /usr/local/Cellar/ above)
Mac OS X 10.9.2 / 2.6 GHz i7 / 8 GB 1600 DDR3

Any way to bring back the old invoice grayscale theme?

I was wondering if you could add the old original invoice style as an option that was just grayscale and looked more like a normal invoice that was present before the option to choose the invoice style happened. The new invoice styles look great on the computer screen but I feel the old one is easier to work use on paper.

change pdf format

hey,

I want to display pdf format as per user requirement so how to change the pdf format

Pear php error

Hello,

Thank you for your script ! Just Xlent πŸ‘
But i have a probleme for installation. :(

I have upload all files in server.
Create SQL table.
Configure the file app/config/database.php

But i have this error :(

Warning: require(/home/gg/www/Geoffroy/ninja/bootstrap/../vendor/autoload.php) [function.require]: failed to open stream: No such file or directory in /home/gg/www/Geoffroy/ninja/bootstrap/autoload.php on line 17

Fatal error: require() [function.require]: Failed opening required '/home/gg/www/Geoffroy/ninja/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/share/php:/usr/lib/php5/pear') in /home/gg/www/Geoffroy/ninja/bootstrap/autoload.php on line 17

  1. I have installed "Pear" on my server. But where configure the good path ? and i must install other package for pear? or just pear?
  2. in error i have "/home/gg/www/Geoffroy/ninja/bootstrap/../vendor/autoload.php", buton my server, my only folder "vendor" have not this file (just other folder php-payments).

Have you a idea? (sorry for my english :) )

Bank account number

Would be useful to be able to provide your bank account number as well. I suppose a lot of people put this on their invoices?

fixed composer installer

when trying to install with composer gives me this error:
[RuntimeException]
Error Output: PHP Warning: require(/var/www/ninja/bootstrap/environment.p
hp): failed to open stream: No such file or directory in /var/www/ninja/bo
otstrap/start.php on line 66
PHP Fatal error: require(): Failed opening required '/var/www/ninja/boots
trap/environment.php' (include_path='/var/www/ninja2/vendor/phpseclib/phpse
clib/phpseclib:.:/usr/share/php:/usr/share/pear') in /var/www/ninja/bootst
rap/start.php on line 66

Possibility to avoid unit price, quantity, line total > price

It would be nice if there would be a possibility to avoid using a unit price, quantity and line total and instead just have a price for an item.

This could be a configuration per invoice with a default setting or something. A lot of services company's don't really have a unit price and would have to put quantity one for every item on every invoice which is a bit of overhead on the invoice.

I don't really have an idea if it would be a big change?

Thanks.

Can't delete logo

There doesn't appear to be an option to delete a logo after uploading.

SQLite install issue

Hi,

I've a little setup here on my Mac. Apache2, SQLite3, PHP 5.5.
Everything is working fine as far as I see.

After doing the first steps with bower and composer I'm getting the following error:

#$ php artisan migrate --seed
  [Illuminate\Database\QueryException]                                                                                           
  SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL (SQL: alter table "accounts" add column "work_phone" varchar not null) 

That is not a real error in my case, because to fix this I've edited the following lines:

app/database/migrations/2014_03_03_155556_add_phone_to_account.php

17: $table->string('work_phone');
18: $table->string('work_email');

to

17: $table->string('work_phone')->default('');
18: $table->string('work_email')->default('');

After this I get another SQLite Error:

#$ php artisan migrate --seed
Migrated: 2014_03_03_155556_add_phone_to_account
Migrated: 2014_03_19_201454_add_language_support
Running DatabaseSeeder
Seeded: UserTableSeeder

  [Illuminate\Database\QueryException]                                                                                           
  SQLSTATE[HY000]: General error: 1 no such table: payment_types (SQL: insert into "payment_types" ("name") values (Apply Credit))

My question is:
Could it be, that the production.sqlite file in the database directory is just to old? Do I miss some migrations files?

Thanks for any kind of helping hand. :)

Symfony \ Component \ Debug \ Exception \ FatalErrorException

Installed it in
http://dev.mydomain.net/invoice-ninja/

Trying to access it via
http://dev.mydomain.net/invoice-ninja/public/

Page loads, everything looks finde. As soon as I click on "Invoice now" I get a 404:
/var/www/virtual/user/dev.mydomain.net/invoice-ninja/public/index.php

Okay, so I added index.php in the URL
http://dev.mydomain.net/invoice-ninja/public/index.php

As soon as I now click in "Invoice now" I get a error Message:

Symfony \ Component \ Debug \ Exception \ FatalErrorException
Class Zizaco\Confide\ConfideUser contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Illuminate\Auth\UserInterface::getRememberToken, Illuminate\Auth\UserInterface::setRememberToken, Illuminate\Auth\UserInterface::getRememberTokenName)

Don't know how to solve that....

i can't login

i try install but [RuntimeException]
Could not scan for classes inside "vendor/php-payments/lib" which does not
appear to be a file nor a folder

"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php",
"app/libraries"
],
I try to login but it always redirect to the home page,

Add New Currency

Would you be kind on telling me how to add new currency ?

kinda stressed here 🌴 😺

Complex passwords break the email notification upon sign up

I tried to sign up multiple times with multiple email addresses and never received an email notification to verify my address. I only realized that it wasn't working when I used a simple password instead.

Please try signing up for a new account using a password as difficult as this:
n&J9%MBE7aeZ$c7zFYtz2^W4

This was autogenerated by LastPass using a strong combination and consists of 24 characters. Apparently Invoice Ninja can't handle either this type of complexity or the amount of characters in the password.

Javascript Calculation Merge.

Hello!

As a small suggestion I noticed that the routines for calculating the invoice is broken out in two separate functions one in
invoice-ninja/app/views/invoices/edit.blade.php
and again in
invoice-ninja/public/js/static.js

I propose we should consolidate that logic.

I noticed a small bug which has to do with parseFloat and i guess the way knockout handles computed functions, as they are called I noticed the value ended up being a negative number.

I have to investigate the cause a little better but I needed a quick fix so I used accounting.toFixed(amount, 2) & accounting.toFixed(paid, 2)

In both edit.blade, and static .js

My idea anyway will be to break this logic out into like utils.js and use it both places.

Unless you tell me otherwise, perhaps I can fork the repo and make the changes and send a pull request.

[Feature Request] Re-send account confirmation email

I had a misconfiguration that prevented my account's initial confirmation email from being sent. Now, Invoice Ninja won't let me email invoices to clients unless I confirm my email, but I have no way to confirm my address.

Is there a database flag I can change, or some other way I can fix my email address' status?

UPDATE: For anyone else in the same boat, I found the field "confirmed" in the table "users" and set it to "1" to manually flag my account as confirmed. That allowed me to send emails successfully. However, a "re-send confirmation email" function might still be useful.

Resolution on logo is low

I tested several image formats and resolutions, and they all appear blurry on the PDF for an invoice.

Missing Favicon

Looks like the favicon is missing on the https://www.invoiceninja.com/invoices/create page.

Create Dockerfile

I think every cool new thing should have easy-to-deploy docker support. I may do this later, but making a reminder note here. If anyone else wants to, though, go for it.

http://www.docker.io

Proforma invoicing support

In America you can to issue an invoice even if you are unsure if someone will pay. This is different in Europe. When you issue an invoice in Europe it has to be paid or else you need to add a credit invoice to make up for the balance.

In the Hosting business it is normal to use create an invoice before it has been paid and because Europeans just can't do this they use the pro-forma invoice system.

Pro-forma invoices have separate numbers than the normal invoice. When someone has to renew their hosting an pro-format invoice is issued. The customer can see this and can pay this invoice. When the invoice has been paid the pro-forma invoice will change to a normal invoice and will receive the next available invoice number.

More info:
http://en.wikipedia.org/wiki/Pro_forma
http://www.hmrc.gov.uk/vat/managing/charging/vat-invoices.htm

Installing Error.

Uncaught ReferenceError: jQuery is not defined simpleexpand.js:4
Uncaught ReferenceError: $ is not defined (index):72
Uncaught ReferenceError: $ is not defined (index):295
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/images/hero-bg-1.jpg
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/images/hero-bg-2.jpg
Attr.specified is deprecated. Its value is always true.
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1397165098.html:1
Uncaught TypeError: undefined is not a function (index):95
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

[Bug] Wrong link to client website

When having a client with a website, the link to the website on the client page is wrong:

https://www.invoiceninja.com/www.example.com

Auto Due Date Timestamp.

I hope to describe the issue accurately.

I noticed an issue with the javascript auto payment terms due_date timestamp format.

When the invoice is first generated based on the default payment terms of the customer

The start date is always right, but the due date gets a full UTC timestamp

This is the timestamp auto-generated.
"due_date":"2014-05-13T04:00:00.000Z"

However if you try to save this timestamp you will get an error because we expect the format to be 'Apr 29, 2014'

If you manually select a due date the time stamp changes to the correct format.
"due_date":"May 15, 2014"

I personally think that the date handling should be done client side maybe using moment.js and I think the json object should pass back to the server full UTC stamps.

(But perhaps you have had issues with that approach that is maybe why you chose to do it server side.)

Recurring Invoice Variables.

One thing which I guess is a case of ambiguity; when a user selects a start date of sometime in the future for example May 1, 2014 for the recurring profile and we use the smart vars like :MONTH

I noticed the line Item says 'April' for the month. (Because thats the current month)

My guess is it needs a bit more intelligence to recognize the invoice start data and base it off that.

Just mentioning it. I can be wrong too.

Also when setting up a recurring invoice, I wonder if the invoice gets scheduled for the start date, or it creates it immediately and then sets the recurring date to one month from the current date?

Any explanation on how this works?

Thanks.

PHP Fatal error: Class 'Rocketeer\RocketeerServiceProvider' not found

Any help would be appreciated.

PHP Fatal error: Class 'Rocketeer\RocketeerServiceProvider' not found in /srv/users/serverpilot/apps/billing/ninja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 158
{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Class 'Rocketeer\RocketeerServiceProvider' not found","file":"/srv/users/serverpilot/apps/billing/ninja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php","line":158}}{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Class 'Rocketeer\RocketeerServiceProvider' not found","file":"/srv/users/serverpilot/apps/billing/ninja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php","line":158}}Script php artisan optimize handling the post-install-cmd event returned with an error: PHP Fatal error: Class 'Rocketeer\RocketeerServiceProvider' not found in /srv/users/serverpilot/apps/billing/ninja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 158

Trouble getting it to work!

I have tried installing it on my mac, I had to do the following to get it to show something

I step by step followed the instruction on the README file

ninja $ bower install
bower cached        git://github.com/jquery/jquery.git#1.11.0
bower validate      1.11.0 against git://github.com/jquery/jquery.git#~1.*
bower cached        git://github.com/components/jqueryui.git#1.10.4
bower validate      1.10.4 against git://github.com/components/jqueryui.git#~1.*
bower cached        git://github.com/Jowin/Datatables-Bootstrap3.git#db5b01916a
bower validate      db5b01916a against git://github.com/Jowin/Datatables-Bootstrap3.git#*
bower cached        git://github.com/DataTables/DataTables.git#1.9.4
bower validate      1.9.4 against git://github.com/DataTables/DataTables.git#~1.*
bower cached        git://github.com/bowerjs/knockout.git#3.0.0
bower validate      3.0.0 against git://github.com/bowerjs/knockout.git#~3.*
bower cached        git://github.com/SteveSanderson/knockout.mapping.git#2.4.1
bower validate      2.4.1 against git://github.com/SteveSanderson/knockout.mapping.git#*
bower cached        git://github.com/rniemeyer/knockout-sortable.git#0.8.6
bower validate      0.8.6 against git://github.com/rniemeyer/knockout-sortable.git#*
bower cached        git://github.com/FortAwesome/Font-Awesome.git#4.0.3
bower validate      4.0.3 against git://github.com/FortAwesome/Font-Awesome.git#~4.*
bower cached        git://github.com/jashkenas/underscore.git#1.6.0
bower validate      1.6.0 against git://github.com/jashkenas/underscore.git#~1.*
bower cached        git://github.com/MrRio/jsPDF.git#0.9.0
bower validate      0.9.0 against git://github.com/MrRio/jsPDF.git#*
bower cached        git://github.com/eternicode/bootstrap-datepicker.git#1.3.0
bower validate      1.3.0 against git://github.com/eternicode/bootstrap-datepicker.git#~1.*
bower cached        git://github.com/twitter/typeahead.js.git#0.9.3
bower validate      0.9.3 against git://github.com/twitter/typeahead.js.git#~0.9.3
bower cached        git://github.com/josscrowcroft/accounting.js.git#0.3.2
bower validate      0.3.2 against git://github.com/josscrowcroft/accounting.js.git#~0.*
bower cached        git://github.com/mozilla/pdf.js.git#cebf7836f4
bower validate      cebf7836f4 against git://github.com/mozilla/pdf.js.git#*
bower cached        git://github.com/twbs/bootstrap.git#3.1.1
bower validate      3.1.1 against git://github.com/twbs/bootstrap.git#~3.*
bower cached        git://github.com/jquery/jquery.git#1.9.1
bower validate      1.9.1 against git://github.com/jquery/jquery.git#~1.9
bower cached        git://github.com/twbs/bootstrap.git#3.1.1
bower validate      3.1.1 against git://github.com/twbs/bootstrap.git#>=3.0 <4.0
bower cached        git://github.com/jquery/jquery.git#2.1.0
bower validate      2.1.0 against git://github.com/jquery/jquery.git#>=1.7.1
bower cached        git://github.com/jquery/jquery.git#2.1.0
bower validate      2.1.0 against git://github.com/jquery/jquery.git#>=1.6
bower cached        git://github.com/jquery/jquery.git#1.8.3
bower validate      1.8.3 against git://github.com/jquery/jquery.git#~1.8.0
bower cached        git://github.com/jquery/jquery.git#2.1.0
bower validate      2.1.0 against git://github.com/jquery/jquery.git#>= 1.9.0

Unable to find a suitable version for jquery, please choose one:
    1) jquery#~1.8.0 which resolved to 1.8.3 and is required by datatables#1.9.4 
    2) jquery#~1.9 which resolved to 1.9.1 and is required by typeahead.js#0.9.3 
    3) jquery#~1.* which resolved to 1.11.0 and is required by hillelcoren/invoice-ninja 
    4) jquery#>= 1.9.0 which resolved to 2.1.0 and is required by bootstrap#3.1.1, bootstrap#3.1.1 
    5) jquery#>=1.7.1 which resolved to 2.1.0 and is required by bootstrap-datepicker#1.3.0 
    6) jquery#>=1.6 which resolved to 2.1.0 and is required by jquery-ui#1.10.4

Prefix the choice with ! to persist it to bower.json

[?] Answer: !6
bower resolution    Saved jquery#>=1.6 as resolution
bower install       datatables-bootstrap3#db5b01916a
bower install       accounting#0.3.2
bower install       jspdf#0.9.0
bower install       knockout-mapping#2.4.1
bower install       typeahead.js#0.9.3
bower install       bootstrap-datepicker#1.3.0
bower install       knockout.js#3.0.0
bower install       jquery-ui#1.10.4
bower install       datatables#1.9.4
bower install       font-awesome#4.0.3
bower install       knockout-sortable#0.8.6
bower install       jquery#2.1.0
bower install       underscore#1.6.0
bower install       pdfjs#cebf7836f4
bower install       bootstrap#3.1.1

datatables-bootstrap3#db5b01916a public/vendor/datatables-bootstrap3

accounting#0.3.2 public/vendor/accounting

jspdf#0.9.0 public/vendor/jspdf

knockout-mapping#2.4.1 public/vendor/knockout-mapping

typeahead.js#0.9.3 public/vendor/typeahead.js
└── jquery#2.1.0

bootstrap-datepicker#1.3.0 public/vendor/bootstrap-datepicker
β”œβ”€β”€ bootstrap#3.1.1
└── jquery#2.1.0

knockout.js#3.0.0 public/vendor/knockout.js

jquery-ui#1.10.4 public/vendor/jquery-ui
└── jquery#2.1.0

datatables#1.9.4 public/vendor/datatables
└── jquery#2.1.0

font-awesome#4.0.3 public/vendor/font-awesome

knockout-sortable#0.8.6 public/vendor/knockout-sortable

jquery#2.1.0 public/vendor/jquery

underscore#1.6.0 public/vendor/underscore

pdfjs#cebf7836f4 public/vendor/pdfjs

bootstrap#3.1.1 public/vendor/bootstrap
└── jquery#2.1.0
  • I had to manually select jquery for bower see the details above
  • had to make app/storage writeable. We should include that in the documentation
  • had to manually copy jquery.min.js from public/vendor/dist dirctory to public/vendor

Then the home page started working, but when I clicked on Invoice Now it took me to http://ninja.dev/get_started and then I see the following error

Illuminate \ Database \ QueryException
SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value (SQL: insert into `accounts` (`ip`, `account_key`, `updated_at`, `created_at`) values (127.0.0.1, I0HxixAeYErv145BIMHTvDmYL4go7ICG, 2014-03-21 09:21:32, 2014-03-21 09:21:32))

Let me know if I'm doing anything wrong!

Floats Handling

Firstly, awesome app.

Secondly, there are a couple of issues when float number are used. I produced a graphic for more clarity. Note the red rectangles:

floats

manual install for managed webhosting

A documentation for manual installation would be helpful as I can not use composer or the command line

composer install
bower install
php artisan migrate --seed

Will the last line be replaced in the future by a complete install script? These dependencies are not available on most servers.

trying to install but it asks for username and password

it asks for username when i do composer install or composer update?

  • Removing symfony/http-kernel (2.3.x-dev 814c805)
  • Installing symfony/http-kernel (2.4.x-dev 52e247c)
    Authentication required (api.github.com):
    Username:

Collapse Recurring Invoices.

I noticed on the invoices page the recurring invoices are on top, I think we should make that hidden and collapsed or its own page. Or at the very least below the current or active invoices.

Also invoices that have been paid in draft state still say draft.

[feature suggestion] Hour tracking

I user to use harvest and they have a really cool timetracking workflow. Where you track hours and then at a later time make invoices. This is really nice for freelance work.

I'm thinking we could make a plugin system and have this be a plugin?

What do you think?

I would be willing to build it.

Currency unit after amount

Hey,

I've been tinkering with the code a bit. Tried to implement swedish language and currency. Realized the currency unit is displayed after the amount, instead of before. Like this: "kr 123", instead of how we (most often) do it in Sweden: "123 kr".

Is it difficult to implement?

Interested in swedish translation? I have no experience in doing pull requests, but I think I can manage.

Thanks for a cool web app anyway.

Regards
Erik

Got Error after applying quick fix from Zizaco

Illuminate \ Database \ QueryException

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'remember_token' in 'field list' (SQL: update `users` set `remember_token` = GMNHg8GqU7lKBrVuwaECRd0PtqB7LLoOqpTYqij2fVpwV38LCcH4iX3cfGPv, `updated_at` = 2014-04-16 19:13:42 where `id` = 1)

this error happened when i applied

public function getRememberToken()
{
    return $this->remember_token;
}

public function setRememberToken($value)
{
    $this->remember_token = $value;
}

public function getRememberTokenName()
{
    return 'remember_token';
}

on Zizaco/ConfideUser.php

error on creating user

Hey,

I am trying to add a new user via route,

/user/create

it displays signup form and goes to route usercontroller store route but as soon as it hits $user->save() line it throws this error.

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (ninja.users, CONSTRAINT users_account_id_foreign FOREIGN KEY (account_id) REFERENCES accounts (id) ON DELETE CASCADE) (SQL: insert into users (username, email, password, confirmation_code, updated_at, created_at) values (demo, [email protected], y$O3kA8nywJx4SJrzDCcBEZuglkAanWKJbgXDK1fV33.EyyrKThuqyW, 04011bf94a13824655edb532906c2c67, 2014-03-26 13:07:10, 2014-03-26 13:07:10))

wondering may be some sort of foreign key error. thoughts? i tried to reset the migration and rerun the migration via --seed option but it doesn't help.

Thanks.

Commit Lockfile

It's best practice to commit a lock file for a package like this, so that everyone is using the same version of its depends.

Implement a simple time tracking application

The only thing missing in this project is a simple time tracking solution tied to projects and clients. A simple start and stop timer like fresh books has would be idea. Perhaps some mobile optimized timers as well.

invoice layouts for real letters

Normally there are specific fields on the top of an invoice for letters with windows. Is it planned to create these layouts so the address of the client is in the window of the letter?

Does one of the current designs support letters with windows?

Or is it not planned to support printing invoices for letters and only send them as email directly to the client?

Note for Payments.

I think it would be really useful to have notes associated with payments. For example Check Numbers or Paypal TX Numbers. I know this is an enhancement.

Recurring Invoice Not Run.

I have a question about the recurring invoices. You mentioned in a previous issue that they run every hour. I set invoices to run for May 1. But I dont see any invoices have been generated.

Is there a special thing I have to setup in order to get this to work?

Recurring items

Is it possible to add multiple items to an invoice and select the 'recurring'-option for each item, instead of the whole invoice?

Example - Hosting Company

Invoice:

  • Hosting-plan (recurring, monthly)
  • Domain (recurring, yearly)
  • Setup (non-recurring)

Mcrypt PHP extension

I have an error if I want to use the software. Can you explain how I can make it work with the mcrypt PHP? I have no idea - sorry

bildschirmfoto 2014-03-21 um 09 29 34

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.