dashboard-admin/app/Models/TransactionPembeli.php

52 lines
1.4 KiB
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TransactionPembeli
{
private static $history_transactionPembeli=[
[
"userId" => "NPA-9876",
"orderId" => "INV-1234",
"seller" => "Jilhan Haura",
"total" => "Rp.500.000",
"dueDate"=>"29 juni 2023",
"status"=>"OnProgress",
"action" => ""
],
[
"userId" => "NPA-9877",
"orderId" => "INV-12345",
"seller" => "Rayhan Surya",
"total" => "Rp.900.000",
"dueDate"=>"30 juni 2023",
"status"=>"Failed",
"action" => ""
],
[
"userId" => "NPA-9878",
"orderId" => "INV-12346",
"seller" => "Satria Hikmaladi",
"total" => "Rp.900.000",
"dueDate"=>"31 juni 2023",
"status"=>"Success",
"action" => ""
],
[
"userId" => "NPA-9871",
"orderId" => "INV-12340",
"seller" => "Aliffian Septi",
"total" => "Rp.1.000.000",
"dueDate"=>"13 Maret 2023",
"status"=>"Failed",
"action" => ""
],
];
public static function HistoryTransactionPembeli(){
return self::$history_transactionPembeli;
}
}