From e449debad6b1368ac3f0699dab7d1ff1fc0128e5 Mon Sep 17 00:00:00 2001 From: Nikola Cirkovic Date: Thu, 2 Jun 2022 04:40:41 +0200 Subject: [PATCH] INA-6 | Purchase Order Invitation Factory --- .../PurchaseOrderInvitationFactory.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/Factory/PurchaseOrderInvitationFactory.php diff --git a/app/Factory/PurchaseOrderInvitationFactory.php b/app/Factory/PurchaseOrderInvitationFactory.php new file mode 100644 index 000000000000..ee3987ea7e39 --- /dev/null +++ b/app/Factory/PurchaseOrderInvitationFactory.php @@ -0,0 +1,31 @@ +company_id = $company_id; + $ci->user_id = $user_id; + $ci->vendor_contact_id = null; + $ci->purchase_order_id = null; + $ci->key = Str::random(config('ninja.key_length')); + $ci->transaction_reference = null; + $ci->message_id = null; + $ci->email_error = ''; + $ci->signature_base64 = ''; + $ci->signature_date = null; + $ci->sent_date = null; + $ci->viewed_date = null; + $ci->opened_date = null; + + return $ci; + } +}