Pārlūkot izejas kodu

240628-1818-Kim

hokky 5 mēneši atpakaļ
vecāks
revīzija
f76578030f

+ 0 - 11
bootstrap/cache/packages.php

@@ -201,15 +201,4 @@
       0 => 'SocialiteProviders\\Manager\\ServiceProvider',
     ),
   ),
-  'stevebauman/location' => 
-  array (
-    'providers' => 
-    array (
-      0 => 'Stevebauman\\Location\\LocationServiceProvider',
-    ),
-    'aliases' => 
-    array (
-      'Location' => 'Stevebauman\\Location\\Facades\\Location',
-    ),
-  ),
 );

+ 23 - 25
bootstrap/cache/services.php

@@ -46,19 +46,18 @@
     42 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
     43 => 'SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider',
     44 => 'SocialiteProviders\\Manager\\ServiceProvider',
-    45 => 'Stevebauman\\Location\\LocationServiceProvider',
-    46 => 'App\\Providers\\AppServiceProvider',
-    47 => 'App\\Providers\\AuthServiceProvider',
-    48 => 'App\\Providers\\EventServiceProvider',
-    49 => 'App\\Providers\\RouteServiceProvider',
-    50 => 'App\\Providers\\GettextServiceProvider',
-    51 => 'App\\Providers\\ThirdPartyApiServiceServiceProvider',
-    52 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
-    53 => 'SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider',
-    54 => 'SocialiteProviders\\Manager\\ServiceProvider',
-    55 => 'Eusonlito\\LaravelMeta\\MetaServiceProvider',
-    56 => 'Jenssegers\\Agent\\AgentServiceProvider',
-    57 => 'Mews\\Captcha\\CaptchaServiceProvider',
+    45 => 'App\\Providers\\AppServiceProvider',
+    46 => 'App\\Providers\\AuthServiceProvider',
+    47 => 'App\\Providers\\EventServiceProvider',
+    48 => 'App\\Providers\\RouteServiceProvider',
+    49 => 'App\\Providers\\GettextServiceProvider',
+    50 => 'App\\Providers\\ThirdPartyApiServiceServiceProvider',
+    51 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
+    52 => 'SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider',
+    53 => 'SocialiteProviders\\Manager\\ServiceProvider',
+    54 => 'Eusonlito\\LaravelMeta\\MetaServiceProvider',
+    55 => 'Jenssegers\\Agent\\AgentServiceProvider',
+    56 => 'Mews\\Captcha\\CaptchaServiceProvider',
   ),
   'eager' => 
   array (
@@ -91,18 +90,17 @@
     26 => 'Carbon\\Laravel\\ServiceProvider',
     27 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
     28 => 'SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider',
-    29 => 'Stevebauman\\Location\\LocationServiceProvider',
-    30 => 'App\\Providers\\AppServiceProvider',
-    31 => 'App\\Providers\\AuthServiceProvider',
-    32 => 'App\\Providers\\EventServiceProvider',
-    33 => 'App\\Providers\\RouteServiceProvider',
-    34 => 'App\\Providers\\GettextServiceProvider',
-    35 => 'App\\Providers\\ThirdPartyApiServiceServiceProvider',
-    36 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
-    37 => 'SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider',
-    38 => 'Eusonlito\\LaravelMeta\\MetaServiceProvider',
-    39 => 'Jenssegers\\Agent\\AgentServiceProvider',
-    40 => 'Mews\\Captcha\\CaptchaServiceProvider',
+    29 => 'App\\Providers\\AppServiceProvider',
+    30 => 'App\\Providers\\AuthServiceProvider',
+    31 => 'App\\Providers\\EventServiceProvider',
+    32 => 'App\\Providers\\RouteServiceProvider',
+    33 => 'App\\Providers\\GettextServiceProvider',
+    34 => 'App\\Providers\\ThirdPartyApiServiceServiceProvider',
+    35 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
+    36 => 'SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider',
+    37 => 'Eusonlito\\LaravelMeta\\MetaServiceProvider',
+    38 => 'Jenssegers\\Agent\\AgentServiceProvider',
+    39 => 'Mews\\Captcha\\CaptchaServiceProvider',
   ),
   'deferred' => 
   array (

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 248 - 171
composer.lock


+ 34 - 0
dabory/para/erp/ko_KR/copy/copy-to-another/stock/genio-genio.json

@@ -0,0 +1,34 @@
+{
+    "General": {
+        "Title": "상품재고에서 상품재고로 복사",
+        "ActApi": "copy-to-another",
+        "PickApi": "genio-pick",
+        "SourceTable": "stock/genio",
+        "TargetTable": "genio"
+    },
+
+    "//FormVars": "ListVars[0]-Caption",
+    "FormVars": [
+        {
+            "SourceButton": "복사할 수불번호",
+            "TargetButton": "복사될 수불번호",
+            "EqualLabel": "복사할 번호를 복사될 번호의 컬럼에 복사하기",
+            "ItemCopyLabel": "전체 품목 복사 선택",
+            "CopyItemRadio": "복사 함",
+            "DontCopyRadio": "복사 않음"
+        }
+    ],
+
+    "//CopyToAnotherPopupVars": "[0]-filter, [1]-component, [2]-parameter",
+    "CopyToAnotherPopupVars": [
+        {
+            "Source": "slip_no"
+        },
+        {
+            "Source": "slip"
+        },
+        {
+            "Source": "/search/slip-search/stock/genio"
+        }
+    ]
+}

+ 6 - 1
dabory/para/erp/ko_KR/form/form-b/genio.json

@@ -20,6 +20,11 @@
             "Caption": "저장 후 추가",
             "Parameter": ""
         },
+        {
+            "Value": "copy-to-another",
+            "Caption": "복사",
+            "Parameter": "stock/genio-genio"
+        },
         {
             "Value": "delete",
             "Caption": "삭제",
@@ -94,7 +99,7 @@
             "GenioDate": "수불일자*",
             "DealType": "거래구분*",
             "CompanyName": "거래업체*",
-            "Contact": "업체담당자*",
+            "Contact": "업체담당자",
             "Status": "상황",
             "VatType": "부가세*",
             "VatTypeRate": "부가세율",

+ 0 - 5
dabory/para/pro/ko_KR/popup/popup-form1/form-a/ssh-app.json--

@@ -48,13 +48,8 @@
             "Keypair": "Keypair",
 
             "SecondCardTitle": "Information to create .env.dabory",
-<<<<<<< HEAD:dabory/para/pro/ko_KR/popup/popup-form1/form-a/ssh-app.json
             "ApiHost": "API Host:Port* ex:34.56.78.99:18080",
             "DbHost": "DB Host:Port* ex:34.56.78.99:3360 ㅋㅋㅋ",
-=======
-            "ApiHost": "API Host:Port* ex)34.56.78.99:18080",
-            "DbHost": "DB Host:Port* ex)34.56.78.99:3306",
->>>>>>> 6bc0fdc1685984cde84aab46da3a5a255491a645:public/para/dabory/pro/ko_KR/popup/popup-form1/form-a/ssh-app.json
             "DbUser": "DB User*",
             "DbPassword": "DB Password*",
             "DbName": "DB Name*",

+ 3 - 0
dcon

@@ -0,0 +1,3 @@
+
+docker_id="$1"
+winpty docker exec -it "${docker_id}" sh

+ 2 - 0
down

@@ -0,0 +1,2 @@
+docker-compose down
+

+ 2 - 14
index.html

@@ -1,11 +1,7 @@
 <html>
 
 <head>
-<<<<<<< HEAD
 <title>Kloxo-MR : Default Page for newerp.daboryhost.com</title>
-=======
-<title>KloxoNG : Default Page for solution.dabory.com</title>
->>>>>>> 6b84ce84b666ed214c1f13b31200465c9e512481
 </head>
 
 <style>
@@ -75,11 +71,7 @@ table.content_title td {
 		<td>
 			<table class="content">
 				<tr>
-<<<<<<< HEAD
 					<td><a href="http://mratwork.com/" title="Go to Kloxo-MR website"><img style="margin:5px; padding:5px; height:50px" class="logo" src="./images/kloxo-mr.png" alt="kloxo-mr-logo"></a></td>
-=======
-					<td><a href="http://kloxong.org" title="Go to Kloxo Next Generation website"><img style="margin:5px; padding:5px; height:50px" class="logo" src="./images/kloxong.png" alt="kloxong-logo"></a></td>
->>>>>>> 6b84ce84b666ed214c1f13b31200465c9e512481
 				</tr>
 
 			</table>
@@ -95,18 +87,14 @@ table.content_title td {
 			<tr>
 				<td><br>
 				<br>
-<<<<<<< HEAD
 				<b>Kloxo-MR Default Page for newerp.daboryhost.com</b> </td>
-=======
-				<b>Kloxo Next Generation Default Page for solution.dabory.com</b> </td>
->>>>>>> 6b84ce84b666ed214c1f13b31200465c9e512481
 			</tr>
 		</table>
 		<br>
 		<table  class="content_body" width="640">
 			<tr>
 				<td width="100%" bgcolor="#eeeeee">
-				If you are seeing this page, it means that the Domain has been successfully 
+				If you are seeing this page, it means that the Domain has been successfully
 				configured on the machine, but the files has not been uploaded yet.
 				<br>
 				<br>
@@ -121,4 +109,4 @@ table.content_title td {
 
 </body>
 
-</html>
+</html>

+ 5 - 1
public/js/modals-controller/b-type/common.js

@@ -184,7 +184,10 @@
             }
         })
 
-        $($($this).closest('tr')).children(`td:eq(${Btype.get_first_required_th_index(table)})`).find('input').focus();
+        // $($($this).closest('tr')).children(`td:eq(${Btype.get_first_required_th_index(table)})`).find('input').focus();
+        let currentElement = $($this);
+        currentElement.focus();
+        currentElement.select();
     };
 
     Btype.table_td_focus = function ($this) {
@@ -250,6 +253,7 @@
                 {Id: item_id }
             ]
         })
+        console.log('response : ', response);
         let item = response.data.Page[0];
         let next_input = eval(namespace).set_item_data_to_textbox(item)
 

+ 2 - 2
public/js/plugins/codemirror/mode/julia/index.html

@@ -174,9 +174,9 @@ x ? y : z
 if else elseif while for
  begin let end do
 try catch finally return break continue
-global local const 
+global local const
 export import importall using
-function macro module baremodule 
+function macro module baremodule
 type immutable quote
 true false enumerate
 

+ 2 - 0
resources/views/front/dabory/erp/sales/squote.blade.php

@@ -445,11 +445,13 @@
         function btn_act_copy_to_another(parameter_name) {
             let data = formB['HeadSelectOptions'].filter(selectOption => selectOption['ModalClassName'] == parameter_name)[0];
             // $(`#modal-copy-to-another.${parameter_name}`).find('.target-slip-no-txt').data('slip-no', $('#auto-slip-no-txt').val())
+            console.log('parameter : ', data['Parameter']);
             $(`#modal-copy-to-another.${parameter_name}`).find('.source-slip-no-txt').val($('#auto-slip-no-txt').val())
             $('.sales').find('.modal-btn').data('target', 'copy-to-another')
             $('.sales').find('.modal-btn').data('variable', data['Parameter'])
             $('.sales').find('.modal-btn').data('class', parameter_name)
             $('.sales').find('.modal-btn').trigger('click')
+            console.log('test : ', $(`#modal-copy-to-another.${parameter_name}`))
         }
 
         function bd_update_due_to_vat_rate_change() {

+ 59 - 0
resources/views/front/dabory/erp/stock/genio.blade.php

@@ -6,6 +6,17 @@
     <div class="row">
         <div class="col-xl-12">
             <div class="mb-1 pt-2 text-right">
+                <button type="button" hidden
+                    class="btn btn-success btn-open-modal window item-modal-btn"
+                    data-target="item"
+                    data-clicked="Btype.get_item_id"
+                    data-variable="itemModal">
+                </button>
+
+                <button type="button" hidden
+                    class="btn btn-success btn-open-modal modal-btn">
+                </button>
+
                 <button type="button"
                     class="btn btn-success btn-open-modal"
                     data-target="slip"
@@ -218,6 +229,28 @@
 
 @endsection
 
+@foreach ($formB['HeadSelectOptions'] as $selectOption)
+    @if (! empty($selectOption['Parameter']))
+        @push('modal')
+            @include($selectOption['BladeRoute'], [
+                'moealSetFile' => $selectOption['Parameter'],
+                'modalClassName' => $selectOption['ModalClassName']
+            ])
+        @endpush
+    @endif
+@endforeach
+
+@foreach ($formB['BodySelectOptions'] as $selectOption)
+    @if (! empty($selectOption['Parameter']))
+        @push('modal')
+            @include($selectOption['BladeRoute'], [
+                'moealSetFile' => $selectOption['Parameter'],
+                'modalClassName' => $selectOption['ModalClassName']
+            ])
+        @endpush
+    @endif
+@endforeach
+
 @section('modal')
     @include('front.outline.static.slip', ['moealSetFile' => $genioModal])
     @include('front.outline.static.company', ['moealSetFile' => $companyModal])
@@ -263,10 +296,15 @@
             }
 
             $('.genio-act').on('click', function () {
+                console.log($(this).data('value'));
+                console.log($(this).data('parameter')); //여기까진 들어옴
+                console.log('여기서 문제? : ', str_replace_hyphen($(this).data('parameter'), '/'));
                 // console.log($(this).data('value'))
                 switch( $(this).data('value') ) {
+
                     case 'save': Btype.btn_act_save('#genio-form #frm'); break;
                     case 'new': btn_act_new(); break;
+                    case 'copy-to-another': btn_act_copy_to_another(str_replace_hyphen($(this).data('parameter'), '/')); break;
                     case 'save-and-new': Btype.btn_act_save_and_new('#genio-form #frm'); break;
                     case 'delete': Btype.btn_act_del('#genio-form #frm'); break;
                 }
@@ -381,6 +419,20 @@
             $('#our-contact-select').html(our_contact);
         }
 
+        // start head act btn
+        function btn_act_copy_to_another(parameter_name) {
+            console.log('parameter_name : ',parameter_name);
+            let data = formB['HeadSelectOptions'].filter(selectOption => selectOption['ModalClassName'] == parameter_name)[0];
+            console.log('parameter : ', data['Parameter']);
+            // $(`#modal-copy-to-another.${parameter_name}`).find('.target-slip-no-txt').data('slip-no', $('#auto-slip-no-txt').val())
+            $(`#modal-copy-to-another.${parameter_name}`).find('.source-slip-no-txt').val($('#auto-slip-no-txt').val())
+            $('.stock').find('.modal-btn').data('target', 'copy-to-another')
+            $('.stock').find('.modal-btn').data('variable', data['Parameter'])
+            $('.stock').find('.modal-btn').data('class', parameter_name)
+            $('.stock').find('.modal-btn').trigger('click')
+            console.log('test : ', $(`#modal-copy-to-another.${parameter_name}`))
+        }
+
         function bd_update_due_to_vat_rate_change() {
             let data = [];
 
@@ -479,5 +531,12 @@
         var formB = {!! json_encode($formB) !!};
         let slipInit = null;
 
+        console.log('genioModal : ', genioModal);
+        console.log('companyModal : ', companyModal);
+        console.log('itemModal : ', itemModal);
+        console.log('slipCacheData : ', slipCacheData);
+        console.log('pickCacheData : ', pickCacheData);
+        console.log('formB : ', formB);
+
     </script>
 @endsection

+ 1 - 1
resources/views/front/dabory/erp/stock/tab/genio-correct.blade.php

@@ -120,7 +120,7 @@
         $('#genio-table-body').on('click', 'tr', function() {
                 // Find the input element with name="bd-cursor-state" within the clicked row
                 const $bdCursorStateInput = $(this).find('input[name="bd-cursor-state"]');
-                console.log('bdCursorStateInput : ', $bdCursorStateInput)
+                // console.log('bdCursorStateInput : ', $bdCursorStateInput)
                 if ($bdCursorStateInput.length) {
                     $($bdCursorStateInput).prop('checked', true)
                     Btype.bd_cursor_click($bdCursorStateInput)

+ 7 - 1
resources/views/front/outline/static/copy-to-another.blade.php

@@ -1,5 +1,7 @@
 <!--- copy-to-anther --->
-@php $modalClassName = $modalClassName ?? ''; @endphp
+@php $modalClassName = $modalClassName ?? '';
+var_dump($moealSetFile['General']['Title']);
+@endphp
 <div class="modal fade {{ $modalClassName }}" id="modal-copy-to-another" aria-hidden="true" data-backdrop="static" style="display: none; z-index: 1050; overflow: auto;">
     <div class="modal-dialog m-auto pt-4" style="width: 480px;">
         <button type="button" hidden
@@ -66,6 +68,10 @@
     });
 </script>
 
+@php
+ var_dump($moealSetFile['CopyToAnotherPopupVars']['Display']);
+@endphp
+
 @foreach ($moealSetFile['CopyToAnotherPopupVars']['Display'] as $key => $i)
     @if ($moealSetFile['CopyToAnotherPopupVars']['Display'][$key] != 'd-none')
         @push('modal')

+ 4 - 2
resources/views/front/outline/static/slip.blade.php

@@ -1,10 +1,12 @@
 <!--- slip-search --->
-@php $modalClassName = $modalClassName ?? ''; @endphp
+@php $modalClassName = $modalClassName ?? '';
+
+@endphp
 
 <div class="modal fade modal-brown {{ $modalClassName }}" id="modal-slip" aria-hidden="true" data-backdrop="static" style="display: none; z-index: 1060;">
     <div class="modal-dialog m-auto pt-4" style="max-width: 1250px !important;">
         <div class="modal-content">
-            <div class="modal-header bg-primary"><!--p-2-->
+            <div class="modal-header bg-primary test111"><!--p-2-->
                 <h4 class="modal-title text-white" id="myModalLabel"></h4>
                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times"></i></button>
             </div>

+ 38 - 0
settings_erp.sh

@@ -0,0 +1,38 @@
+#!/bin/bash
+theme_file="kbgolf"
+main_dir="/var/www/html"
+del_vendor_dir="/var/www/html/vendor"
+s_vendor_dir="/home/vendor"
+
+# vendor 디렉토리 삭제
+rm -rf "$del_vendor_dir"
+
+# home 경로에 vendor 디렉토리 생성
+mkdir -p "$s_vendor_dir"
+
+# /var/www/html 경로 이동
+cd "$main_dir"
+
+# vendor 심볼릭 링크 생성
+ln -s "$s_vendor_dir" vendor
+
+# resources 심볼릭 링크 생성
+# resources_link="$main_dir/public/themes/$theme_file/pro/resources"
+# if [ -d "$main_dir/public/themes/$theme_file/pro" ]; then
+#     cd "$main_dir/public/themes/$theme_file/pro"
+# else
+#     mkdir -p "$main_dir/public/themes/$theme_file/pro"
+#     cd "$main_dir/public/themes/$theme_file/pro"
+# fi
+
+# # 기존의 resources 심볼릭 링크나 디렉토리가 있으면 삭제
+# if [ -e "$resources_link" ]; then
+#     rm -rf "$resources_link"
+# fi
+
+# # 새로운 resources 심볼릭 링크 생성
+# ln -s "$main_dir/dabory/themes/$theme_file/pro/resources" resources
+
+cd "$main_dir"
+# composer update 실행
+composer update

+ 4 - 0
start

@@ -0,0 +1,4 @@
+
+docker_id="$1"
+
+docker-compose up -d --"${docker_id}"

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels