403Webshell
Server IP : 103.161.17.216  /  Your IP : 216.73.216.1
Web Server : nginx/1.18.0
System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/app.ansachsongkhoe.net/database/seeds/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/app.ansachsongkhoe.net/database/seeds/BarcodesTableSeeder.php
<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;

use App\Barcode;

class BarcodesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Barcode::create([
            'id'=>1,
            'name'=>'20 Labels per Sheet',
            'description'=>'Sheet Size: 8.5" x 11", Label Size: 4" x 1", Labels per sheet: 20',
            'width'=>4,
            'height'=>1,
            'paper_width'=>8.5,
            'paper_height'=>11,
            'top_margin'=>0.5,
            'left_margin'=>0.125,
            'row_distance'=>0.00,
            'col_distance'=>0.1875,
            'stickers_in_one_row'=>2,
            'is_default'=>0,
            'is_continuous'=>0,
            'stickers_in_one_sheet'=>20,
            'business_id'=>null,
            'created_at'=>'2017-12-18 06:13:44',
            'updated_at'=>'2017-12-18 06:13:44'
        ]);
            
        Barcode::create([
            'id'=>2,
            'name'=>'30 Labels per sheet',
            'description'=>'Sheet Size: 8.5" x 11", Label Size: 2.625" x 1", Labels per sheet: 30',
            'width'=>2.625,
            'height'=>1,
            'paper_width'=>8.5,
            'paper_height'=>11,
            'top_margin'=>0.5,
            'left_margin'=>0.188,
            'row_distance'=>0.00,
            'col_distance'=>0.125,
            'stickers_in_one_row'=>3,
            'is_default'=>0,
            'is_continuous'=>0,
            'stickers_in_one_sheet'=>30,
            'business_id'=>null,
            'created_at'=>'2017-12-18 06:04:39',
            'updated_at'=>'2017-12-18 06:10:40'
        ]);
            
        Barcode::create([
            'id'=>3,
            'name'=>'32 Labels per sheet',
            'description'=>'Sheet Size: 8.5" x 11", Label Size: 2" x 1.25", Labels per sheet: 32',
            'width'=>2,
            'height'=>1.25,
            'paper_width'=>8.5,
            'paper_height'=>11,
            'top_margin'=>0.5,
            'left_margin'=>0.25,
            'row_distance'=>0.00,
            'col_distance'=>0,
            'stickers_in_one_row'=>4,
            'is_default'=>0,
            'is_continuous'=>0,
            'stickers_in_one_sheet'=>32,
            'business_id'=>null,
            'created_at'=>'2017-12-18 05:55:40',
            'updated_at'=>'2017-12-18 05:55:40'
        ]);
            
        Barcode::create([
            'id'=>4,
            'name'=>'40 Labels per sheet',
            'description'=>'Sheet Size: 8.5" x 11", Label Size: 2" x 1", Labels per sheet: 40',
            'width'=>2,
            'height'=>1,
            'paper_width'=>8.5,
            'paper_height'=>11,
            'top_margin'=>0.5,
            'left_margin'=>0.25,
            'row_distance'=>0.00,
            'col_distance'=>0.00,
            'stickers_in_one_row'=>4,
            'is_default'=>0,
            'is_continuous'=>0,
            'stickers_in_one_sheet'=>40,
            'business_id'=>null,
            'created_at'=>'2017-12-18 05:58:40',
            'updated_at'=>'2017-12-18 05:58:40'
        ]);
            
        Barcode::create([
            'id'=>5,
            'name'=>'50 Labels per Sheet',
            'description'=>'Sheet Size: 8.5" x 11", Label Size: 1.5" x 1", Labels per sheet: 50',
            'width'=>1.5,
            'height'=>1,
            'paper_width'=>8.5,
            'paper_height'=>11,
            'top_margin'=>0.5,
            'left_margin'=>0.5,
            'row_distance'=>0.00,
            'col_distance'=>0.00,
            'stickers_in_one_row'=>5,
            'is_default'=>0,
            'is_continuous'=>0,
            'stickers_in_one_sheet'=>50,
            'business_id'=>null,
            'created_at'=>'2017-12-18 05:51:10',
            'updated_at'=>'2017-12-18 05:51:10'
        ]);

        Barcode::create([
            'id'=>6,
            'name'=>'Continuous Rolls - 31.75mm x 25.4mm',
            'description'=>'Label Size: 31.75mm x 25.4mm, Gap: 3.18mm',
            'width'=>1.25,
            'height'=>1,
            'paper_width'=>1.25,
            'paper_height'=>0.00,
            'top_margin'=>0.125,
            'left_margin'=>0.00,
            'row_distance'=>0.125,
            'col_distance'=>0.00,
            'stickers_in_one_row'=>1,
            'is_default'=>0,
            'is_continuous'=>1,
            'stickers_in_one_sheet'=>null,
            'business_id'=>null,
            'created_at'=>'2017-12-18 05:51:10',
            'updated_at'=>'2017-12-18 05:51:10'
        ]);
            
        // Barcode::create( [
        // 	'name'=>'154 Per Sheet',
        // 	'description'=>'Sheet Size: 8.5" x 11", Label Size: 25.4mm x 9.52mm, Labels per sheet: 154',
        // 	'width'=>25.40,
        // 	'height'=>9.52,
        // 	'paper_width'=>8.5,
        // 	'paper_height'=>11,
        // 	'top_margin'=>8.79,
        // 	'left_margin'=>11.43,
        // 	'row_distance'=>2.54,
        // 	'col_distance'=>2.49,
        // 	'stickers_in_one_row'=>7,
        // 	'is_default'=>0,
        // 	'is_continuous'=>0,
        // 	'stickers_in_one_sheet'=>154,
        // 	'business_id'=>null,
        // 	'created_at'=>'2017-12-18 05:43:01',
        // 	'updated_at'=>'2017-12-18 05:45:54'
        // ] );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit