2017 © Pedro Peláez
 

project gb-customs-form

Takes Product and Shipment information and passes back an FPDF object containing CN22 or CN23 GB customs forms

image

fhindsthejewellers/gb-customs-form

Takes Product and Shipment information and passes back an FPDF object containing CN22 or CN23 GB customs forms

  • Friday, July 27, 2018
  • by fhindsthejewellers
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GB Customs Forms

This library is under development and the interface is not stable!, (*1)

This library produces FPDF objects containing CN22 or CN23 forms., (*2)

Have a look in the examples folder., (*3)

The basic syntax is as follows:, (*4)

$form = new \fhindsthejewellers\GBCustomsForm\CustomsManager($products,$details);

$type = $form->GetType();

$pdf = $form->GetPDF();

Where $products is an array of products and $details is an array of details about the parcel, (*5)

The CustomsManager class also provides a couple of static methods:, (*6)

  • IsCn22FormPossible(array) : bool - Tells you if these products will allow you to make the simplar CN22 form. CN23 needs more information passed in the $details array.
  • ValidateProductArray(array) : array - This will pass back your product array and tell you if the names are too long

The Versions

27/07 2018

dev-master

9999999-dev

Takes Product and Shipment information and passes back an FPDF object containing CN22 or CN23 GB customs forms

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires

by Paul Hinds

pdf customs uk gb