uawdijnntqw1x1x1
IP : 216.73.216.145
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
sigmaerp.codeskitter.site
/
app
/
View
/
Components
/
DropdownPrecisionFormat.php
/
/
<?php namespace App\View\Components; use Closure; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class DropdownPrecisionFormat extends Component { /** * Selected option * * @var string */ public $selected; /** * Options list * * @var array */ public $dropdownData; /** * For Number Decimals formats * @return string * number or qunatity * */ public $precisionFor; public $selectionBoxName; /** * Create a new component instance. */ public function __construct($selectionBoxName, $selected = null, $precisionFor = 'number') { $this->dropdownData = $this->dropdownData(); $this->selected = $selected; $this->precisionFor = $precisionFor; $this->selectionBoxName = $selectionBoxName; } public function dropdownData(){ if($this->precisionFor == 'number'){ //Number Precision return [0,1,2,3,4]; } else{ //Quantity Precision return [0,1,2,3,4]; } } /** * Get the view / contents that represent the component. */ public function render() { return view('components.dropdown-precision-format'); } }
/home/users/unlimited/www/sigmaerp.codeskitter.site/app/View/Components/DropdownPrecisionFormat.php