UserDataController :: index
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Eccube\Controller\UserDataController::index" |
_firewall_context | "security.firewall.map.context.customer" |
_remove_csp_headers | true |
_route | "user_data" |
_route_params | [ "route" => "construction_only" ] |
_security_firewall_run | "_security_customer" |
_stopwatch_token | "459624" |
route | "construction_only" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
authorization | "" |
connection | "close" |
host | "gogo002.xbiz.jp" |
referer | "https://gogo002.xbiz.jp/rintec/user_data/construction_only" |
user-agent | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" |
x-accel-expires | "60" |
x-failure-cache-time | "0" |
x-file-type | "normal" |
x-forwarded-for | "47.79.2.223" |
x-forwarded-host | "gogo002.xbiz.jp" |
x-forwarded-port | "443" |
x-forwarded-proto | "https" |
x-forwarded-ssl | "on" |
x-php-ob-level | "1" |
x-real-ip | "47.79.2.223" |
x-server-address | "162.43.105.40" |
x-ua-device | "pc" |
x-wp-access | "0" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "text/html; charset=UTF-8" |
date | "Sun, 20 Apr 2025 04:43:46 GMT" |
set-cookie | "maintenance_token=deleted; expires=Sat, 20-Apr-2024 04:43:45 GMT; Max-Age=0; path=/; httponly" |
x-debug-exception | "Variable%20%22form%22%20does%20not%20exist." |
x-debug-exception-file | "%2Fhome%2Fgogo002%2Fgogo002.xbiz.jp%2Fpublic_html%2Frintec%2Fapp%2Ftemplate%2Fuser_data%2Fconstruction_only.twig:3" |
x-debug-token | "5aaf1d" |
x-debug-token-link | "https://gogo002.xbiz.jp/rintec/_profiler/f0116c" |
x-previous-debug-token | "f0116c" |
x-robots-tag | "noindex" |
Cookies
Request Cookies
No request cookies
Response Cookies
Key | Value |
---|---|
maintenance_token | Symfony\Component\HttpFoundation\Cookie {#7783 #name: "maintenance_token" #value: null #domain: null #expire: 1 #path: "/" #secure: false #httpOnly: true -raw: false -sameSite: null -secureDefault: true } |
Session 1
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
1
Usages
Stateless check enabled
Usage |
---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[ [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 44 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/src/Eccube/Log/Processor/TokenProcessor.php" "line" => 34 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/monolog/monolog/src/Monolog/Logger.php" "line" => 368 "function" => "__invoke" "class" => "Eccube\Log\Processor\TokenProcessor" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/monolog/monolog/src/Monolog/Logger.php" "line" => 574 "function" => "addRecord" "class" => "Monolog\Logger" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-http/Authentication/AuthenticatorManager.php" "line" => 99 "function" => "debug" "class" => "Monolog\Logger" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php" "line" => 34 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php" "line" => 39 "function" => "supports" "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php" "line" => 38 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-http/Firewall/AbstractListener.php" "line" => 25 "function" => "supports" "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php" "line" => 73 "function" => "__invoke" "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/security-http/Firewall.php" "line" => 92 "function" => "callListeners" "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 117 "function" => "onKernelRequest" "class" => "Symfony\Component\Security\Http\Firewall" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 230 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 59 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 154 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/http-kernel/HttpKernel.php" "line" => 139 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/http-kernel/HttpKernel.php" "line" => 75 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/vendor/symfony/http-kernel/Kernel.php" "line" => 202 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/index.php" "line" => 83 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] ] |
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
(no data) |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
APP_ENV | "dev" |
CONTEXT_DOCUMENT_ROOT | "/home/gogo002/gogo002.xbiz.jp/public_html" |
CONTEXT_PREFIX | "" |
DATABASE_CHARSET | "utf8mb4" |
DATABASE_SERVER_VERSION | "105" |
DATABASE_URL | "mysql://gogo002_ec2:p95ndlngy8@localhost/gogo002_ec2" |
DOCUMENT_ROOT | "/home/gogo002/gogo002.xbiz.jp/public_html" |
ECCUBE_ADMIN_ALLOW_HOSTS | "[]" |
ECCUBE_ADMIN_ROUTE | "administrator" |
ECCUBE_AUTH_MAGIC | "SUaF1c6LCFedGqdJmLQPKxQGpKSRJOQ" |
ECCUBE_COOKIE_PATH | "/rintec" |
ECCUBE_CURRENCY | "JPY" |
ECCUBE_FORCE_SSL | "0" |
ECCUBE_LOCALE | "ja" |
ECCUBE_TEMPLATE_CODE | "default" |
ECCUBE_TIMEZONE | "Asia/Tokyo" |
FCGI_ROLE | "RESPONDER" |
FailureCacheTime | "0" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_AUTHORIZATION | "" |
HTTP_CONNECTION | "close" |
HTTP_HOST | "gogo002.xbiz.jp" |
HTTP_REFERER | "https://gogo002.xbiz.jp/rintec/user_data/construction_only" |
HTTP_USER_AGENT | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" |
HTTP_X_ACCEL_EXPIRES | "60" |
HTTP_X_FAILURE_CACHE_TIME | "0" |
HTTP_X_FILE_TYPE | "normal" |
HTTP_X_FORWARDED_FOR | "47.79.2.223" |
HTTP_X_FORWARDED_HOST | "gogo002.xbiz.jp" |
HTTP_X_FORWARDED_PORT | "443" |
HTTP_X_FORWARDED_PROTO | "https" |
HTTP_X_FORWARDED_SSL | "on" |
HTTP_X_REAL_IP | "47.79.2.223" |
HTTP_X_SERVER_ADDRESS | "162.43.105.40" |
HTTP_X_UA_DEVICE | "pc" |
HTTP_X_WP_ACCESS | "0" |
MAILER_DSN | "sendmail://localhost" |
MEF_PROXY_ADDR | "162.43.105.40" |
Ngx_Cache_NoCacheMode | "1" |
Ngx_Cache_NormalFile | "1" |
Ngx_Cache_StaticMode | "1" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
PHP_SELF | "/rintec/index.php" |
PWD | "/home/userfastcgi/gogo002/gogo002.xbiz.jp" |
QUERY_STRING | "" |
REDIRECT_FailureCacheTime | "0" |
REDIRECT_HTTPS | "on" |
REDIRECT_HTTP_AUTHORIZATION | "" |
REDIRECT_MEF_PROXY_ADDR | "162.43.105.40" |
REDIRECT_Ngx_Cache_NoCacheMode | "1" |
REDIRECT_Ngx_Cache_NormalFile | "1" |
REDIRECT_Ngx_Cache_StaticMode | "1" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "aAR7geu-6M64gsUs4ti4FQAAAX0" |
REDIRECT_URL | "/rintec/user_data/construction_only" |
REMOTE_ADDR | "47.79.2.223" |
REMOTE_PORT | "43348" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1745124225 |
REQUEST_TIME_FLOAT | 1745124225.8187 |
REQUEST_URI | "/rintec/user_data/construction_only" |
SCRIPT_FILENAME | "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/index.php" |
SCRIPT_NAME | "/rintec/index.php" |
SERVER_ADDR | "162.43.105.40" |
SERVER_ADMIN | "webmaster@gogo002.xbiz.jp" |
SERVER_NAME | "gogo002.xbiz.jp" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache" |
SHLVL | "0" |
UNIQUE_ID | "aAR7geu-6M64gsUs4ti4FQAAAX0" |
Sub Requests 1
ErrorController (token = f0116c)
Key | Value |
---|---|
_controller | "error_controller" |
_stopwatch_token | "41b751" |
exception | Twig\Error\RuntimeError {#4361 -lineno: 3 -name: "@user_data/construction_only.twig" -rawMessage: "Variable "form" does not exist." -sourcePath: "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/app/template/user_data/construction_only.twig" -sourceCode: """ {% extends 'default_frame.twig' %}\r\n \r\n {% form_theme form 'Form/form_div_layout.twig' %}\r\n \r\n {% block stylesheet %}\r\n <style>\r\n .form-check.flex{\r\n display: flex; \r\n align-items: center; \r\n flex-wrap: wrap; \r\n gap: 5px;\r\n }\r\n .construction-input-text__item{\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n gap: 1rem;\r\n margin: 5px 0;\r\n }\r\n .construction-input-text__item span:first-child{\r\n width: 7rem;\r\n }\r\n .construction-input-text__item input[type="text"]{\r\n width: 5rem;\r\n text-align: center;\r\n }\r\n </style>\r\n {% endblock %}\r\n \r\n {% block javascript %}\r\n <script src="https://cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>\r\n \r\n <script>\r\n var CountTatami = {\r\n countType1: 0, //6-14\r\n countType2: 0, //16-20\r\n countType3: 0, //23-\r\n };\r\n \r\n $(function() {\r\n SetRequiredContent1();\r\n SetRequiredContent2("construction_type_07", "交換", ".construction_type_07_02_v1");\r\n SetRequiredContent2("construction_type_07", "新設工事に加えて移設工事も希望", ".construction_type_07_02_v2");\r\n SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望する", ".construction_type_07_03_v1");\r\n SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望しない", ".construction_type_07_03_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");\r\n SetRequiredContent2("electrical_outlet_07", "あり", ".electrical_outlet_07_02");\r\n SetRequiredContent2("room_size_07", "なし", ".room_size_07_02");\r\n SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書あり", ".room_size_07_03_v1");\r\n SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書なし", ".room_size_07_03_v2");\r\n SetRequiredContent2("piping_status_07", "隠蔽配管", ".piping_status_07_02");\r\n SetRequiredContent2("outdoor_cover", "必要", ".outdoor_cover_02");\r\n SetRequiredContent2("setting_install_method", "新規取付", ".construction_method_07_v1");\r\n SetRequiredContent2("setting_install_method", "交換", ".construction_method_07_v2");\r\n \r\n $("input[name='construction_type_07']").change(function() {\r\n SetRequiredContent2("construction_type_07", "交換", ".construction_type_07_02_v1");\r\n SetRequiredContent2("construction_type_07", "新設工事に加えて移設工事も希望", ".construction_type_07_02_v2");\r\n SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望する", ".construction_type_07_03_v1");\r\n SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望しない", ".construction_type_07_03_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");\r\n });\r\n $("input[name='construction_type_07_02_v2']").change(function() {\r\n SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望する", ".construction_type_07_03_v1");\r\n SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望しない", ".construction_type_07_03_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");\r\n });\r\n $("input[name='construction_type_07_03_v1']").change(function() {\r\n SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");\r\n SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");\r\n });\r\n $("input[name='electrical_outlet_07']").change(function() {\r\n SetRequiredContent2("electrical_outlet_07", "あり", ".electrical_outlet_07_02");\r\n });\r\n $("input[name='room_size_07']").change(function() {\r\n SetRequiredContent2("room_size_07", "なし", ".room_size_07_02");\r\n SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書あり", ".room_size_07_03_v1");\r\n SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書なし", ".room_size_07_03_v2");\r\n });\r\n $("input[name='room_size_07_02']").change(function() {\r\n SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書あり", ".room_size_07_03_v1");\r\n SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書なし", ".room_size_07_03_v2");\r\n });\r\n $("input[name='piping_status_07']").change(function() {\r\n SetRequiredContent2("piping_status_07", "隠蔽配管", ".piping_status_07_02");\r\n });\r\n $("input[name='outdoor_cover']").change(function() {\r\n SetRequiredContent2("outdoor_cover", "必要", ".outdoor_cover_02");\r\n });\r\n $("input[name='setting_install_method']").change(function() {\r\n SetRequiredContent2("setting_install_method", "新規取付", ".construction_method_07_v1");\r\n SetRequiredContent2("setting_install_method", "交換", ".construction_method_07_v2");\r\n });\r\n \r\n \r\n \r\n CalcConstructionNumber();\r\n $('.construction-input-text__item input').on('change', function() {\r\n CalcConstructionNumber();\r\n CalcPrice();\r\n });\r\n \r\n \r\n \r\n CalcPrice();\r\n $('input[type="radio"]').on('change', function() {\r\n CalcPrice();\r\n });\r\n \r\n });\r\n \r\n function SetRequiredContent1() {\r\n $("#tableSecond .content-1 input").each(function(index, el) {\r\n if ($(this).attr('name') != 'construction_date_2' \r\n && $(this).attr('name') != 'construction_date_3'\r\n && $(this).attr('name') != 'construction_6'\r\n && $(this).attr('name') != 'construction_16'\r\n && $(this).attr('name') != 'construction_23'\r\n && $(this).attr('type') != 'hidden') {\r\n $(this).attr('required', 'required');\r\n }\r\n });\r\n \r\n $('#construction_16').removeAttr('required');\r\n $('#construction_23').removeAttr('required');\r\n if ($('#construction_6').val() == "" && $('#construction_16').val() == "" && $('#construction_23').val() == "") {\r\n $('#construction_6').attr('required', 'required');\r\n }\r\n else{\r\n $('#construction_6').removeAttr('required'); \r\n }\r\n }\r\n \r\n function SetRequiredContent2(nameInput, condition , classCheck) {\r\n var selectedValue = $("input[name='"+ nameInput +"']:checked").val();\r\n if (selectedValue === condition) {\r\n $(classCheck).css("display", "flex");\r\n $("#tableSecond " + classCheck + " input").each(function(index, el) {\r\n if ($(this).attr('type') != 'hidden') {\r\n $(this).attr('required', 'required');\r\n }\r\n });\r\n } else {\r\n $(classCheck).css("display", "none");\r\n $("#tableSecond " + classCheck + " input").each(function(index, el) {\r\n $(this).prop('checked', false).removeAttr('required');\r\n });\r\n }\r\n }\r\n \r\n function CalcPrice() {\r\n const basePriceType1 = 15980;\r\n const basePriceType2 = 19980;\r\n const basePriceType3 = 23980;\r\n \r\n var product_total_price = 0;\r\n \r\n var BasePrice = {\r\n type1: CountTatami.countType1 * basePriceType1,\r\n type2: CountTatami.countType2 * basePriceType2,\r\n type3: CountTatami.countType3 * basePriceType3,\r\n };\r\n \r\n var totalBasePrice = BasePrice.type1 + BasePrice.type2 + BasePrice.type3;\r\n \r\n $('input[type="radio"]').each(function() { \r\n let hidden_price = $(this).closest('div').find('input[type="hidden"]');\r\n if (hidden_price.length > 0) {\r\n hidden_price.val('');\r\n }\r\n });\r\n \r\n var construction_price = 0; \r\n $('input[type="radio"]:checked').each(function() { \r\n let selectedPrice = $(this).data('price');\r\n construction_price += selectedPrice;\r\n \r\n let hidden_price = $(this).closest('div').find('input[type="hidden"]');\r\n if (hidden_price.length > 0) {\r\n hidden_price.val(selectedPrice);\r\n }\r\n });\r\n \r\n \r\n var number_install = Number($('#number_install').val());\r\n var construction_total_price = totalBasePrice + construction_price * number_install;\r\n var discountQuantity = 0;\r\n \r\n switch (number_install) {\r\n case 1:\r\n discountQuantity = 0;\r\n break;\r\n case 2:\r\n discountQuantity = 0.05;\r\n break;\r\n case 3:\r\n discountQuantity = 0.1;\r\n break;\r\n default:\r\n discountQuantity = 0.15;\r\n break;\r\n }\r\n \r\n var total_price = product_total_price + construction_total_price;\r\n var discount_price = Math.round(total_price * discountQuantity);\r\n total_price = total_price - discount_price;\r\n \r\n $('#construction_base_price_1').val(BasePrice.type1);\r\n $('#construction_base_price_2').val(BasePrice.type2);\r\n $('#construction_base_price_3').val(BasePrice.type3);\r\n \r\n $('#construction_total_price').val(construction_total_price);\r\n $('#construction_discount').val(discount_price);\r\n $('#total-price').text(numeral(total_price).format('0,0') + "円");\r\n \r\n $('.product_price').text(numeral(product_total_price).format('0,0'));\r\n $('.base_price').text(numeral(totalBasePrice).format('0,0'));\r\n $('.add_price').text(numeral(construction_total_price - totalBasePrice).format('0,0'));\r\n \r\n // console.log("----------------")\r\n // console.log(" base_price: " + $('.base_price').eq(0).text());\r\n // console.log(" add_price: " + $('.add_price').eq(0).text());\r\n // console.log("total-price: " + $('#total-price').text());\r\n }\r\n \r\n function CalcConstructionNumber() {\r\n CountTatami.countType1 = 0;\r\n CountTatami.countType2 = 0;\r\n CountTatami.countType3 = 0;\r\n \r\n if ($.isNumeric($('#construction_6').val())) {\r\n CountTatami.countType1 = Number($('#construction_6').val());\r\n }\r\n if ($.isNumeric($('#construction_16').val())) {\r\n CountTatami.countType2 = Number($('#construction_16').val());\r\n }\r\n if ($.isNumeric($('#construction_23').val())) {\r\n CountTatami.countType3 = Number($('#construction_23').val());\r\n }\r\n \r\n $('#number_install').val(CountTatami.countType1 + CountTatami.countType2 + CountTatami.countType3);\r\n }\r\n </script>\r\n <script src="//yubinbango.github.io/yubinbango/yubinbango.js" charset="UTF-8"></script>\r\n <script>\r\n $(document).ready(function() {\r\n // $('.contact_type').change(function() {\r\n // location.href = "{{ url('contact') }}?type=" + $(this).val();\r\n // });\r\n \r\n $("#btn-confirm").click(function(event) {\r\n var has_error = false;\r\n \r\n $("span.error-empty").remove();\r\n \r\n $("input[required], textarea[required]").each(function() {\r\n var input = $(this);\r\n var input_empty = $("<span>").addClass("error-empty").text("※この項目は必須項目です"); \r\n \r\n if (input.attr('type') == 'radio' || input.attr('type') == 'checkbox') {\r\n var radio_name = input.attr('name');\r\n if ($('input[name="' + radio_name + '"]:checked').length == 0) {\r\n input.before(input_empty);\r\n has_error = true;\r\n }\r\n }\r\n else if (input.val() == ""){\r\n input.before(input_empty);\r\n has_error = true;\r\n }\r\n else {\r\n input_empty.remove();\r\n }\r\n \r\n input.on("change", function() {\r\n if (input.attr('type') == 'radio' || input.attr('type') == 'checkbox' || input.attr('type') == 'text') {\r\n input.closest('td').find('.error-empty').remove();\r\n }\r\n else {\r\n input_empty.remove();\r\n }\r\n });\r\n });\r\n \r\n if (has_error) {\r\n var speed = 300;\r\n var position = $(".error-empty").eq(0).offset().top - 250;\r\n $('body,html').animate({\r\n scrollTop: position\r\n }, speed, 'swing');\r\n \r\n return false;\r\n }\r\n else {\r\n $form = $('#form1');\r\n $.ajax({\r\n url: $form.attr('action'),\r\n type: $form.attr('method'),\r\n data: $form.serialize(),\r\n dataType: 'json',\r\n beforeSend: function(xhr, settings) {\r\n // Buttonを無効にする\r\n $('.add-cart').prop('disabled', true);\r\n }\r\n }).done(function(data) {\r\n if ($('.add-cart').hasClass('cart-express')) {\r\n location.href = "{{ url('shopping') }}";\r\n }\r\n }).fail(function(data) {\r\n alert('{{ 'カートへの追加に失敗しました。'|trans }}');\r\n });\r\n }\r\n });\r\n });\r\n </script>\r\n {% endblock %}\r\n \r\n {% block main %}\r\n <input type="hidden" name="array_product" value="[14, 10, 18, 19, 20, 24, 26]">\r\n <div class="ec-inquiry-page">\r\n \r\n <div class="ec-banner">\r\n <div class="ec-banner__inner">\r\n <div class="inner">\r\n <h2>\r\n 工事金額の確認\r\n </h2>\r\n </div>\r\n </div>\r\n <div class="ec-breadcrumb">\r\n <ul class="ec-breadcrumb__menu">\r\n <li class="ec-breadcrumb__item"><a href="{{ url('homepage') }}">TOP</a></li>\r\n <li class="ec-breadcrumb__item"><span>></span></li>\r\n <li class="ec-breadcrumb__item"><p>工事金額の確認</p></li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class="ec-form-inquiry-main">\r\n <div class="ec-form-inquiry__inner">\r\n <div class="inner">\r\n <div class="ec-form-inquiry__group">\r\n <div class="text">\r\n <p>下記フォームの各項目にご記入いただき、決済にお進みください。なお、不明の項目がある場合には、工事当日に追加費用が発生する可能性があります。</p> \r\n <div class="ec-setting__group">\r\n <div class="title-main">\r\n <p>依頼(購入)にすすむ</p>\r\n </div>\r\n <div class="list-steps v2 vip">\r\n <div class="step">\r\n <div class="step__contact">\r\n <p class="step__contact__num">STEP1</p>\r\n <p class="step__contact__ttl">お客様</p>\r\n <img class="step__contact__img" src="{{ asset('assets/img/setting-0y/s0-contact-1.png') }}" alt="">\r\n <p class="step__contact__desc">工事金額の確認</p>\r\n </div>\r\n </div>\r\n <div class="dbar">\r\n <span></span>\r\n </div>\r\n <div class="step">\r\n <div class="step__contact">\r\n <p class="step__contact__num">STEP2</p>\r\n <p class="step__contact__ttl">お客様</p>\r\n <img class="step__contact__img" src="{{ asset('assets/img/setting-0y/s0-contact-3.png') }}" alt="">\r\n <p class="step__contact__desc">工事の依頼(購入)にすすむ</p>\r\n </div>\r\n </div>\r\n <div class="dbar">\r\n <span></span>\r\n </div>\r\n <div class="step">\r\n <div class="step__contact">\r\n <p class="step__contact__num">STEP3</p>\r\n <p class="step__contact__ttl">お客様</p>\r\n <img class="step__contact__img" src="{{ asset('assets/img/setting-0y/s0-contact-4.png') }}" alt="">\r\n <p class="step__contact__desc">決済</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <div class="ec-product__group">\r\n <div class="list-btn">\r\n <a href="https://lin.ee/5FbNJH7s" target="_blank" class="btn"><span>LINE</span></a>\r\n <a href="{{ url('contact') }}" class="btn"><span>通常お問合せ</span></a>\r\n <span class="btn pc" style="opacity: 1!important; cursor: default;"><span>TEL: 080-0222-4466</span></span>\r\n <a href="tel:080-0222-4466" class="btn sp"><span>TEL: 080-0222-4466</span></a>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <form action="{{ url('product_add_cart', {id:Product.id}) }}" method="post" id="form1" name="form1">\r\n {{ form_widget(form._token) }}\r\n \r\n <div class="table">\r\n \r\n <div class="list-item">\r\n <div class="item active">\r\n <table id="tableSecond" style="padding: 0;">\r\n <tr class="content-1">\r\n <td><p>工事内訳</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "新設工事に加えて移設工事も希望" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;margin-bottom: 0.5rem;line-height: 1.2;">※エアコン本体の移動はお客様ご自身でお願いいたします。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_02_v1">\r\n <td><p>工事内訳</p><small>2段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_02_v1.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_02_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_02_v1.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_02_v1) }}\r\n {{ form_widget(form.construction_type_07_02_v1_price) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_02_v2">\r\n <td><p>工事内訳</p><small>2段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_02_v2.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_02_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_02_v2.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }}\r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_02_v2) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_03_v1">\r\n <td><p>工事内訳</p><small>3段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_03_v1.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_03_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_03_v1.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_03_v1) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_03_v2">\r\n <td><p>工事内訳</p><small>3段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_03_v2.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_03_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_03_v2.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_03_v2) }}\r\n {{ form_widget(form.construction_type_07_03_v2_price) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_04_v1">\r\n <td><p>工事内訳</p><small>4段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_04_v1.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_04_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_04_v1.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_04_v1) }}\r\n {{ form_widget(form.construction_type_07_04_v1_price) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_04_v2">\r\n <td><p>工事内訳</p><small>4段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_04_v2.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_04_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_04_v2.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_04_v2) }}\r\n {{ form_widget(form.construction_type_07_04_v2_price) }}\r\n </td>\r\n </tr> \r\n <tr class="construction_type_07_04_v3">\r\n <td><p>工事内訳</p><small>4段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_type_07_04_v3.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_type_07_04_v3.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_04_v3.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.construction_type_07_04_v3) }}\r\n {{ form_widget(form.construction_type_07_04_v3_price) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>設置台数</p></td>\r\n <td>\r\n <div class="fill v4 construction-input-text">\r\n <div class="construction-input-text__item">\r\n <span>6-14畳</span>{{ form_widget(form.construction_6) }}<span>台</span>\r\n </div>\r\n <div class="construction-input-text__item">\r\n <span>16-20畳</span>{{ form_widget(form.construction_16) }}<span>台</span>\r\n </div>\r\n <div class="construction-input-text__item">\r\n <span>23畳-</span>{{ form_widget(form.construction_23) }}<span>台</span>\r\n </div>\r\n </div>\r\n {{ form_widget(form.number_install) }}\r\n {{ form_widget(form.number_install_price) }}\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>特急券の購入</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.express_tickets.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.express_tickets.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.express_tickets.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.express_tickets) }}\r\n {{ form_widget(form.express_tickets_price) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>お住まい</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.osumai.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.osumai.vars.full_name }}" data-percent="{{ val.attr['percent'] | default(0) }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.osumai.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.osumai) }}\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>建物の所有</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.building_ownership.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.building_ownership.vars.full_name }}" data-percent="{{ val.attr['percent'] | default(0) }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.building_ownership.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "賃貸" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事内容によっては受付出来ない可能性もございます。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.building_ownership) }}\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>構造</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.structure.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.structure.vars.full_name }}" data-percent="{{ val.attr['percent'] | default(0) }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.structure.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.structure) }}\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>設置工事希望日</p></td>\r\n <td>\r\n <div class="fill v3">\r\n <label class="label v3 date vip">\r\n 第一希望日 \r\n {{ form_widget(form.construction_date_1) }}\r\n {{ form_errors(form.construction_date_1) }}\r\n <span class="pc"> </span>希望時間帯 \r\n <select name="time_slot_1" id="time_slot_1">\r\n {% for key,val in form.time_slot_1.vars.choices %}\r\n <option value="{{ val.value }}">{{ val.label | trans }} </option>\r\n {% endfor %}\r\n </select>\r\n </label>\r\n <label class="label v3 date">\r\n 第二希望日 \r\n {{ form_widget(form.construction_date_2) }}\r\n {{ form_errors(form.construction_date_2) }}\r\n <span class="pc"> </span>希望時間帯 \r\n <select name="time_slot_2" id="time_slot_2">\r\n {% for key,val in form.time_slot_2.vars.choices %}\r\n <option value="{{ val.value }}">{{ val.label | trans }} </option>\r\n {% endfor %}\r\n </select>\r\n </label>\r\n <label class="label v3 date">\r\n 第三希望日 \r\n {{ form_widget(form.construction_date_3) }}\r\n {{ form_errors(form.construction_date_3) }}\r\n <span class="pc"> </span>希望時間帯 \r\n <select name="time_slot_3" id="time_slot_3">\r\n {% for key,val in form.time_slot_3.vars.choices %}\r\n <option value="{{ val.value }}">{{ val.label | trans }} </option>\r\n {% endfor %}\r\n </select>\r\n </label>\r\n {{ form_widget(form.contents, {'attr': { 'placeholder': 'その他希望等あればご記入ください。' }}) }}\r\n {{ form_errors(form.contents) }}\r\n </div>\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>エアコン設置場所</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.construction_floor_07.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.construction_floor_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_floor_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.construction_floor_07) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>エレベーターの有無</p><small>※3階以上の場合</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.elevator_07.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.elevator_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.elevator_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n {{ form_errors(form.elevator_07) }}\r\n {{ form_widget(form.elevator_07_price) }}\r\n </div>\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>コンセントの有無</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.electrical_outlet_07.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.electrical_outlet_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.electrical_outlet_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "なし(別途工事が必要になります)" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.2;">※10m以上の方は別途お見積りさせていただきます。</p>\r\n {% endif %}\r\n {% if val.value == "不明" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.2;">※工事当日に追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n {{ form_errors(form.electrical_outlet_07) }}\r\n {{ form_widget(form.electrical_outlet_07_price) }}\r\n </div>\r\n </td>\r\n </tr> \r\n <tr class="electrical_outlet_07_02">\r\n <td><p>コンセントの有無</p><small>2段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.electrical_outlet_07_02.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.electrical_outlet_07_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.electrical_outlet_07_02.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n {{ form_errors(form.electrical_outlet_07_02) }}\r\n {{ form_widget(form.electrical_outlet_07_02_price) }}\r\n </div>\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>建物の契約アンペア</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.contract_amp.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.contract_amp.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.contract_amp.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.contract_amp) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>コンセントアース端子</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.outlet_earth.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.outlet_earth.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.outlet_earth.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n {% if val.value == "なし" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">*工事当日に追加費用がかかる場合があります。</p>\r\n {% endif %}\r\n {% if val.value == "不明" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">*工事当日に追加費用がかかる場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.outlet_earth) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>配管穴の有無</p></td>\r\n <td>\r\n <div class="fill v4 vip">\r\n {% for key,val in form.room_size_07.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.room_size_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n {% if val.value == "不明" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。別途エアココからご連絡させていただきます。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.room_size_07) }}\r\n <img style="margin-left: auto;" src="{{ asset('assets/img/contact/') }}hole-sample.jpg" alt="配管穴の有無">\r\n </td>\r\n </tr> \r\n <tr class="room_size_07_02">\r\n <td><p>配管穴の有無</p><small>2段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.room_size_07_02.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.room_size_07_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07_02.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.room_size_07_02) }}\r\n </td>\r\n </tr> \r\n <tr class="room_size_07_03_v1">\r\n <td><p>建物の材質</p><small>(穴あけ&貫通スリーブ費)</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.room_size_07_03_v1.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.room_size_07_03_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07_03_v1.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n {% if val.value == "その他" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n {% if val.value == "不明" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.room_size_07_03_v1) }}\r\n {{ form_widget(form.room_size_07_03_v1_price) }}\r\n </td>\r\n </tr> \r\n <tr class="room_size_07_03_v2">\r\n <td><p>建物の材質</p><small>(穴あけ&貫通スリーブ&アスベストみなし工事、対策費と調査報告書作成費)</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.room_size_07_03_v2.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.room_size_07_03_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07_03_v2.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n {% if val.value == "その他" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n {% if val.value == "不明" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.room_size_07_03_v2) }}\r\n {{ form_widget(form.room_size_07_03_v2_price) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>設置予定場所の<br class="pc" />配管の状態</p></td>\r\n <td style="flex-direction: column;">\r\n <div class="fill v5 up">\r\n {% set idx = 0 %}\r\n {% for key,val in form.piping_status_07.vars.choices %}\r\n {% set idx = idx + 1 %}\r\n {% if idx <= 2 %}\r\n <div class="group">\r\n <label class="form-check v2">\r\n <input type="radio" name="{{ form.piping_status_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.piping_status_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n <img src="{{ asset('assets/img/form-0y/') }}line-option-0{{ idx }}.jpg" alt="">\r\n </div>\r\n {% endif %}\r\n {% endfor %}\r\n </div>\r\n <div class="fill v5">\r\n {% set idx = 0 %}\r\n {% for key,val in form.piping_status_07.vars.choices %}\r\n {% set idx = idx + 1 %}\r\n {% if idx > 2 %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.piping_status_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.piping_status_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endif %}\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.piping_status_07) }}\r\n </td>\r\n </tr>\r\n <tr class="piping_status_07_02">\r\n <td><p>設置予定場所の<br class="pc" />配管の状態</p><small>2段階目</small></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.piping_status_07_02.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.piping_status_07_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.piping_status_07_02.vars.data == val.value %}checked{% endif %}/>\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.piping_status_07_02) }}\r\n {{ form_widget(form.piping_status_07_02_price) }}\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>室内化粧カバーの<br class="pc" />希望の有無</p></td>\r\n <td>\r\n <div class="fill v4" style="order: 2;">\r\n {% for key,val in form.indoor_cover_07.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.indoor_cover_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.indoor_cover_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "必要(2m以内)" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※2mを超える場合は追加費用がかかります。</p>\r\n {% endif %}\r\n {% if val.value == "未定" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※化粧カバーが必要になった場合は追加費用がかかります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.indoor_cover_07) }}\r\n {{ form_widget(form.indoor_cover_07_price) }}\r\n \r\n <img style="margin-left: auto; order: 3;" src="{{ asset('assets/img/contact/') }}item-1.jpg" alt="室内化粧カバー">\r\n </td>\r\n </tr> \r\n <tr class="content-1">\r\n <td><p>室外化粧カバーの<br class="pc" />希望の有無</p></td>\r\n <td> \r\n <div class="fill v4">\r\n {% for key,val in form.outdoor_cover.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.outdoor_cover.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.outdoor_cover.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "その他" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.outdoor_cover) }}\r\n <img style="margin-left: auto;" src="{{ asset('assets/img/contact/') }}item-2.jpg" alt="室外化粧カバー">\r\n </td>\r\n </tr> \r\n <tr class="outdoor_cover_02">\r\n <td><p>室外化粧カバーの<br class="pc" />希望の有無</p><small>2段階目</small></td>\r\n <td> \r\n <div class="fill v4">\r\n {% for key,val in form.outdoor_cover_02.vars.choices %}\r\n <label class="form-check" >\r\n <input type="radio" name="{{ form.outdoor_cover_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.outdoor_cover_02.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "再使用(交換)同階" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※交換にはすでにスリムダクトが付いている方も含みます。</p>\r\n {% endif %}\r\n {% if val.value == "再使用(交換)異階" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※交換にはすでにスリムダクトが付いている方も含みます。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %} \r\n </div>\r\n {{ form_errors(form.outdoor_cover_02) }}\r\n {{ form_widget(form.outdoor_cover_02_price) }}\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>室外機の設置場所(既設場所・希望設置場所)</p></td>\r\n <td> \r\n <div class="fill v4">\r\n {% for key,val in form.construction_outdoor_07.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.construction_outdoor_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_outdoor_07.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "その他" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.construction_outdoor_07) }}\r\n {{ form_widget(form.construction_outdoor_07_price) }}\r\n </td>\r\n </tr>\r\n <tr class="content-1">\r\n <td><p>室外機の設置方法(既設方法・希望設置方法)</p></td>\r\n <td>\r\n <div class="fill v4">\r\n {% for key,val in form.setting_install_method.vars.choices %}\r\n <label class="form-check">\r\n <input type="radio" name="{{ form.setting_install_method.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.setting_install_method.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n </label>\r\n {% endfor %}\r\n </div>\r\n {{ form_errors(form.setting_install_method) }}\r\n <div class="fill v4 construction_method_07_v1" style="margin-left: 2rem; flex-direction: column;">\r\n {% for key,val in form.construction_method_07_v1.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.construction_method_07_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_method_07_v1.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "⑧不明(記載)" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n <img style="margin-top: 3rem;" src="{{ asset('assets/img/form-0y/install-option.jpg') }}" alt=""> \r\n </div>\r\n {{ form_errors(form.construction_method_07_v1) }}\r\n {{ form_widget(form.construction_method_07_v1_price) }}\r\n \r\n <div class="fill v4 construction_method_07_v2" style="margin-left: 2rem; flex-direction: column;">\r\n {% for key,val in form.construction_method_07_v2.vars.choices %}\r\n <label class="form-check flex">\r\n <input type="radio" name="{{ form.construction_method_07_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_method_07_v2.vars.data == val.value %}checked{% endif %} />\r\n {{ val.label | trans }} \r\n {% if val.value == "⑧不明(記載)" %}\r\n <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>\r\n {% endif %}\r\n </label>\r\n {% endfor %}\r\n <img style="margin-top: 3rem;" src="{{ asset('assets/img/form-0y/install-option.jpg') }}" alt=""> \r\n </div>\r\n {{ form_errors(form.construction_method_07_v2) }}\r\n {{ form_widget(form.construction_method_07_v2_price) }}\r\n </td>\r\n </tr>\r\n </table>\r\n <div class="result">\r\n <p>概算合計金額</p>\r\n <p id="total-price">00,000円</p>\r\n {{ form_widget(form.construction_base_price_1) }}\r\n {{ form_widget(form.construction_base_price_2) }}\r\n {{ form_widget(form.construction_base_price_3) }}\r\n {{ form_widget(form.construction_total_price) }}\r\n {{ form_widget(form.construction_discount) }}\r\n </div>\r\n <div style="text-align: right;" class="pc">\r\n 「\r\n 本体価格 <span class="product_price"></span>円、\r\n 標準工事 <span class="base_price"></span>円、\r\n 追加工事 <span class="add_price"></span>円\r\n 」\r\n </div>\r\n <div style="text-align: right;" class="sp">\r\n 本体価格 <span class="product_price" style="display: inline-block; width: 100px; text-align: right;"></span>円<br>\r\n 標準工事 <span class="base_price" style="display: inline-block; width: 100px; text-align: right;"></span>円<br>\r\n 追加工事 <span class="add_price" style="display: inline-block; width: 100px; text-align: right;"></span>円\r\n </div> \r\n </div>\r\n </div> \r\n </div>\r\n \r\n <div class="ec-productRole__actions" style="display: none;">\r\n {% if form.classcategory_id1 is defined %}\r\n <div class="ec-select">\r\n {{ form_row(form.classcategory_id1) }}\r\n {{ form_errors(form.classcategory_id1) }}\r\n </div>\r\n {% if form.classcategory_id2 is defined %}\r\n <div class="ec-select">\r\n {{ form_row(form.classcategory_id2) }}\r\n {{ form_errors(form.classcategory_id2) }}\r\n </div>\r\n {% endif %}\r\n {% endif %}\r\n <div class="ec-numberInput">\r\n {{ form_widget(form.product_id) }}\r\n {{ form_widget(form.ProductClass) }}\r\n {{ form_widget(form.quantity) }}\r\n {{ form_errors(form.quantity) }}\r\n </div>\r\n </div>\r\n \r\n \r\n <div class="ec-product-detail__group">\r\n <div class="list-btn">\r\n <a href="{{ url('cart') }}" class="btn btn-sd btn-back" style="display: block;" onclick="history.back(); return false;">\r\n <span>戻る</span>\r\n </a>\r\n <button type="submit" class="btn btn-sd add-cart cart-express" id="btn-confirm">\r\n <span>{{ '依頼(購入)にすすむ'|trans }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n {% endblock %}\r\n """ #message: "Variable "form" does not exist." #code: 0 #file: "/home/gogo002/gogo002.xbiz.jp/public_html/rintec/app/template/user_data/construction_only.twig" #line: 3 : { { __TwigTemplate_bfeba3693c106736b6330b9ed83064acfc3a95d6847db7e466c1d3eaa50b48bc->{closure} … › |
logger | Symfony\Bridge\Monolog\Logger {#562 …8} |