mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
36 lines
776 B
PHP
36 lines
776 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Crater\Models\InvoiceTemplate;
|
|
|
|
class InvoiceTemplateSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
InvoiceTemplate::create([
|
|
'name' => 'Template 1',
|
|
'view' => 'invoice1',
|
|
'path' => '/assets/img/PDF/Template1.png'
|
|
]);
|
|
|
|
InvoiceTemplate::create([
|
|
'name' => ' Template 2',
|
|
'view' => 'invoice2',
|
|
'path' => '/assets/img/PDF/Template2.png'
|
|
]);
|
|
|
|
InvoiceTemplate::create([
|
|
'name' => 'Template 3',
|
|
'view' => 'invoice3',
|
|
'path' => '/assets/img/PDF/Template3.png'
|
|
]);
|
|
}
|
|
}
|