⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
database
/
seeders
/
View File Name :
DemoQuotationProductsTableSeeder.php
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DemoQuotationProductsTableSeeder extends Seeder { /** * Auto generated seed file * * @return void */ public function run() { \DB::table('quotation_products')->delete(); \DB::table('quotation_products')->insert([ 0 => [ 'id' => 1, 'quantity' => 5.0, 'purchase_price' => 872.49, 'sale_price' => 950.0, 'unit_cost' => 1045.0, 'tax_amount' => 95.0, 'created_at' => now(), 'updated_at' => now(), 'quotation_id' => 1, 'product_id' => 1, ], 1 => [ 'id' => 2, 'quantity' => 5.0, 'purchase_price' => 960.6, 'sale_price' => 1200.0, 'unit_cost' => 1200.0, 'tax_amount' => 109.09, 'created_at' => now(), 'updated_at' => now(), 'quotation_id' => 1, 'product_id' => 2, ], 2 => [ 'id' => 3, 'quantity' => 5.0, 'purchase_price' => 1260.6, 'sale_price' => 1500.0, 'unit_cost' => 1500.0, 'tax_amount' => 0.0, 'created_at' => now(), 'updated_at' => now(), 'quotation_id' => 1, 'product_id' => 3, ], ]); } }