58 lines
1.5 KiB
PHP
58 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
|
|
class TransactionUser
|
|
{
|
|
private static $history_transaction=[
|
|
[
|
|
"userId" => "NPA-9876",
|
|
"orderId" => "INV-1234",
|
|
"Customer" => "Nurul Prima",
|
|
"seller" => "Jilhan",
|
|
"total" => "Rp.500.000",
|
|
"dueDate"=>"29 juni 2023",
|
|
"status"=>"OnProgress",
|
|
"action" => ""
|
|
],
|
|
[
|
|
"userId" => "NPA-9879",
|
|
"orderId" => "INV-1234",
|
|
"Customer" => "Nurul Prima Annisa",
|
|
"seller" => "Raihan",
|
|
"total" => "Rp.500.000",
|
|
"dueDate"=>"29 juni 2025",
|
|
"status"=>"Diterima",
|
|
"action" => ""
|
|
],
|
|
|
|
// [
|
|
// "userId" => "NPA-9877",
|
|
// "orderId" => "INV-1235",
|
|
// "Customer" => "Nurul Annisa",
|
|
// "seller" => "Rayhan",
|
|
// "total" => "Rp.900.000",
|
|
// "dueDate"=>"29 Juli 2023",
|
|
// "status"=>"Pembeli",
|
|
// "action" => ""
|
|
// ],
|
|
|
|
// [
|
|
// "userId" => "NPA-9878",
|
|
// "orderId" => "INV-1236",
|
|
// "Customer" => "Nurul Prima Annisa",
|
|
// "seller" => "Rayhan",
|
|
// "total" => "Rp.900.000",
|
|
// "dueDate"=>"29 Juli 2023",
|
|
// "status"=>"Pembeli",
|
|
// "action" => ""
|
|
// ],
|
|
];
|
|
public static function HistoryTransaction(){
|
|
return self::$history_transaction;
|
|
}
|
|
}
|