Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarun Mungthanya
SpnPatch-Laravel
Commits
06b1d970
Commit
06b1d970
authored
Dec 11, 2024
by
Sarun Mungthanya
Browse files
issue create server license
parent
8831ea28
Changes
2
Show whitespace changes
Inline
Side-by-side
app/Http/Livewire/Pages/Patch/PatchCreate.php
View file @
06b1d970
...
...
@@ -173,9 +173,10 @@ class PatchCreate extends Component
'PLEVEL'
=>
'required|string|max:255'
,
'MAJOR_VERSION'
=>
'required|string|max:255'
,
'PDESC'
=>
'required|string|max:255'
,
// 'POWNER' => 'required|string|max:255',
'PAPPROVEDATE'
=>
'required|date'
,
'PTYPE'
=>
'required|string|max:255'
,
// 'PTYPE' => 'required|string|max:255',
// 'POWNER' => 'required|string|max:255',
// 'PATCHCODE' => 'required|string',
// 'UNINSTALL' => 'required|string|max:255',
// 'PATCHCODE_SERVER' => 'required|string',
...
...
@@ -188,13 +189,13 @@ class PatchCreate extends Component
$confSmartUpdate
->
PDATE
=
date
(
"Y-m-d H:i:s"
);
$confSmartUpdate
->
PHP_VERSION_ID
=
$this
->
PHP_VERSION
;
$confSmartUpdate
->
PLEVEL
=
$this
->
PLEVEL
;
$confSmartUpdate
->
PCODE
=
$this
->
PCODE
;
$confSmartUpdate
->
PCODE
=
$this
->
PCODE
??
$this
->
PATCHNAME
;
$confSmartUpdate
->
MAJOR_VERSION
=
$this
->
MAJOR_VERSION
;
$confSmartUpdate
->
PDESC
=
$this
->
PDESC
;
$confSmartUpdate
->
Remark
=
$this
->
Remark
;
$confSmartUpdate
->
POWNER
=
auth
()
->
user
()
->
id
;
$confSmartUpdate
->
PAPPROVEDATE
=
$this
->
PAPPROVEDATE
;
$confSmartUpdate
->
PTYPE
=
$this
->
PTYPE
;
$confSmartUpdate
->
PTYPE
=
$this
->
PTYPE
??
' '
;
$confSmartUpdate
->
PATCHCODE
=
(
$codePhpVersion
->
check_code
??
''
)
.
" "
.
$this
->
PATCHCODE
;
$confSmartUpdate
->
UNINSTALL
=
$this
->
UNINSTALL
;
$confSmartUpdate
->
PATCHCODE_SERVER
=
$this
->
PATCHCODE_SERVER
;
...
...
app/Http/Livewire/Pages/ServerLicense/ServerLicenseCreate.php
View file @
06b1d970
...
...
@@ -34,7 +34,7 @@ class ServerLicenseCreate extends Component
public
$installVersion
;
public
$databaseType
;
public
$ownerType
;
public
$hscodeMethod
;
public
$hscodeMethod
=
1
;
public
$customerUrl
;
public
$contact
;
public
$contactCustomerName
;
...
...
@@ -55,7 +55,7 @@ class ServerLicenseCreate extends Component
'installVersion'
=>
'required|string|max:255'
,
'databaseType'
=>
'required'
,
'ownerType'
=>
'required'
,
'hscodeMethod'
=>
'required|integer|in:1,2'
,
//
'hscodeMethod' => 'required|integer|in:1,2',
'customerUrl'
=>
'required|string|max:255'
,
'contact'
=>
'required|string|max:255'
,
'contactCustomerName'
=>
'required|string|max:255'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment