mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-25 07:24:21 +00:00
big commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
|
||||
class preformaClass
|
||||
{
|
||||
|
||||
public function execute(){
|
||||
$user = User::fetch();
|
||||
$company = $user->company();
|
||||
$price = $company->price();
|
||||
$order = Order::fetch();
|
||||
$items = $order->items();
|
||||
|
||||
$deliveryAddress = address();
|
||||
|
||||
$invoice = Performa::create([
|
||||
$order,
|
||||
$items
|
||||
]);
|
||||
|
||||
$convertToPdf = $invoice->pdf();
|
||||
|
||||
$email = email()->pdf();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user