big commit

This commit is contained in:
omair saleh
2021-03-22 08:46:33 +08:00
parent 307aff1c3f
commit 9fe0757baf
75 changed files with 2587 additions and 425 deletions
+29
View File
@@ -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();
}
}