added new invoice fields, improved invoice templates (#1258)

This commit is contained in:
Kevin Papst
2019-11-18 12:01:26 +01:00
committed by GitHub
parent 2287c9951c
commit 47bd8b0ce7
50 changed files with 1530 additions and 1222 deletions

View File

@@ -46,7 +46,7 @@ class CustomerFixtures extends Fixture
*/
public function load(ObjectManager $manager)
{
$faker = Factory::create();
$faker = Factory::create('at_AT');
$amountCustomers = rand(self::MIN_CUSTOMERS, self::MAX_CUSTOMERS);
for ($c = 1; $c <= $amountCustomers; $c++) {
@@ -100,6 +100,7 @@ class CustomerFixtures extends Fixture
->setCountry($faker->countryCode)
->setTimezone($faker->timezone)
->setVisible($visible)
->setVatId($faker->vat)
;
if (rand(0, 3) % 3) {