Swap billing from and to
Change-Id: Id18275fdde22b8a5da49d20a66f134b54e5f147c
diff --git a/invoice.php b/invoice.php
index 841a772..1aa6927 100644
--- a/invoice.php
+++ b/invoice.php
@@ -23,8 +23,10 @@
$invoice->setType('Invoice');
$invoice->setReference('ICLC-10-' . $user->id);
$invoice->setDate(date('Y-m-d', time()));
- $invoice->setFrom(['ICLC-conference / Administration', 'Leibniz-Institute for the German Language', 'R5 6-13', '68181 Mannheim', 'Germany']);
- $invoice->setTo([$user->first_name . ' ' . $user->last_name, $user->organization, $user->street, $user->zip . ' ' . $user->city, $user->country]);
+ $invoice->lang['to'] = "billing from";
+ $invoice->lang['from'] = "billing to";
+ $invoice->setTo(['ICLC-conference / Administration', 'Leibniz-Institute for the German Language', 'R5 6-13', '68181 Mannheim', 'Germany']);
+ $invoice->setFrom([$user->first_name . ' ' . $user->last_name, $user->organization, $user->street, $user->zip . ' ' . $user->city, $user->country]);
$invoice->setDue(date('Y-m-d', strtotime('+2 weeks')));
// $invoice->hide_tofrom();
/* Adding Items in table */