Comments (6)
If you don't have any recurring invoices we do hide the section. We'd like to make improvements to this page in the future.
The invoice staying in draft state is a bug. It looks like we're only updating the state if the client pays the invoice, if the payment is entered manually we're not updating it.
I'll work on a fix along with a query to correct existing data. Thanks for reporting this.
from invoiceninja.
Regarding invoice status on entering a manual payment:
In file: app\ninja\repositories\PaymentRepository.php
In the public function save find:
$payment->transaction_reference = trim($input['transaction_reference']);
$payment->save();
Add this code after that line:
$invoice = $payment->invoice()->firstOrFail();
$invoice->invoice_status_id = ($amount < $invoice->balance) ? INVOICE_STATUS_PARTIAL : INVOICE_STATUS_PAID;
$invoice->save();
This should be refactored to its own responsibilty, but if you need it now you can use it 👍
from invoiceninja.
Thanks for the fix. I've added your code to the activity handler so it will be applied for all payments.
from invoiceninja.
I have a new commit that adds BS3 Accordian to invoices page. Also on the Quotes Controller I removed the recurring lnvoice list on top because thats not relevant.
https://github.com/whitebook/invoice-ninja/blob/db38d496bec182afe65743bd2806395f441c0955/app/views/list.blade.php
from invoiceninja.
Very cool, thanks for sharing this change!
from invoiceninja.
Perhaps a Tab is more appropriate.
from invoiceninja.
Related Issues (20)
- PDFs are not working on v5.8.50-C157 HOT 2
- API: Improve error message for using an undefined array_key in a request (found in POST request for payments) HOT 1
- Import customer/contact file to update current data
- QR Code generation modify receiver
- xRechnung Issues
- Remove multiple steps for "Pay now" button HOT 4
- Allow us to edit the email template for refunds
- Project Total Hours Not Updated in the Web Version HOT 4
- An option to select a particular invoice, quote or other document for template- or design-editor
- texts.pre_payment shown in client portal HOT 4
- Declined Quotes : new status
- Option to clear and update any existing footers HOT 1
- Cross-Company Configuration
- Update Send Time for all existing recurring invoices
- Installation via composer
- i want to pay the 30$ a year for this, and get whitelable unlimted. i need you to know if it works offline
- Import and sync payments for european bank accounts - CAMT - MT940 - SWIFT - XML HOT 3
- Client On-boarding Forms/CRM HOT 1
- Add view invoice button to payment email template HOT 5
- Client portal custom CSS script not loaded on layout/clean.blade.php template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invoiceninja.