GithubHelp home page GithubHelp logo

Comments (6)

chendicott avatar chendicott commented on August 16, 2024 5

@gidaban a quick way you could do this is to create a new template rather than the default, and then remove the section that adds the 'Please pay until' wording.

Example:

  1. Copy /views/vendor/invoices/templates/default.blade.php to the same folder named invoice.blade.php
  2. Where you're generating your invoice add ->template("invoice")
  3. In invoice.blade.php remove the following section
    <p>{{ trans('invoices::invoice.pay_until') }}: {{ $invoice->getPayUntilDate() }}</p>

from laravel-invoices.

gidaban avatar gidaban commented on August 16, 2024 1

@PovilasKorop unfortunately i never did it before :)

from laravel-invoices.

PovilasKorop avatar PovilasKorop commented on August 16, 2024 1

@gidaban it's pretty easy to learn, and would be really beneficial for your development career :)

from laravel-invoices.

PovilasKorop avatar PovilasKorop commented on August 16, 2024

@gidaban thanks for the suggestion. Currently we are busy on other projects, so no time for adding this functionality, but we are accepting pull requests if you are willing to contribute.

from laravel-invoices.

mc0de avatar mc0de commented on August 16, 2024

as @chendicott described, edit template and hide what you don't need, no additional functionality needed

from laravel-invoices.

gidaban avatar gidaban commented on August 16, 2024

@chendicott I really know how to modify it in blade file. In this case 2 blade files are required :) If something is paid already.

@chendicott i will modify as i need it thanks

from laravel-invoices.

Related Issues (20)

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.