Download the PHP package buddha-code/buco-part-documents without Composer

On this page you can find all versions of the php package buddha-code/buco-part-documents. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package buco-part-documents

BucoPartDocuments

Shopware plugin to create order documents for just a subset of positions of an order.

Features

This plugin adds the ability to create an order document with just a subset of the order's positions. Therefore, the order's document tab has a new checkbox to enable the selection. Once selected, a new position grid becomes available to select the desired positions. With no positions selected, an emtpy document will be created. This might be useful, to place messages via the document's comment field.

To indicate whether the document is a part document or a regular ("full") document, a moon and half moon icon will be introduced in several places like the document tab, the document quick overview and the mail window.

Sending a document via e-mail will extend the mail context with a $EventResult.bucoIsPartDocument boolean variable, indicating the state of the attached document. So it's possible to render different outputs depending on the state of the document. E.g.:

This variable is set, if the mail has ONE attachment only. With multiple attachments, the variable would lose it's meaning.

Configuration

It's possible to restrict the creation of part documents to specific document types or templates.

Migration

If you were using the mbdus Teildokumente erstellen plugin before, there is a migration assistant for you. This will migrate the mbdus part documents into this plugin. Please beware, that this plugin has less features than the mbdus plugin. E.g. it's not possible to change the recipients postal address. On the other hand, this implementation is much leaner and less error-prone.

The internal database IDs will be re-enumerated. The original primary key will be preserved in the s_order_documents_attributes.buco_part_document_legacy_id column for your service.

The access to the migration assistant is protected with an ACL resource. The local_admin user role is enabled by default. Otherwise, you might wish to grant other roles access to the bucopartdocumentsmigration.migrate privilege.

The mbdus plugin doesn't need to be installed anymore. After the uninstallation, the plugin left it's data tables behind. This left-behinds are sufficient to do the migration. You'll have possibility to clean up these tables at the end of the migration process.

Programmatically Usage

If you need to create a part document programmatically, please pass the following arguments to the initDocument() method. Yes, some of the information are redundant. This is based on technical restrictions. Please refer to the source code for further details. A pull request (shopware/shopware#2121) is pending, to address this issues.

Compatibility

Installation

Git Version

Install with composer

Contributing

Feel free to fork and send pull requests!

Licence

This project uses the GPLv3 License.


All versions of buco-part-documents with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
composer/installers Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package buddha-code/buco-part-documents contains the following files

Loading the files please wait ....