diff --git a/app/controllers/admin/asks_controller.rb b/app/controllers/admin/asks_controller.rb
index 6ebfac2..b4b5dc6 100644
--- a/app/controllers/admin/asks_controller.rb
+++ b/app/controllers/admin/asks_controller.rb
@@ -385,7 +385,7 @@ class Admin::AsksController < OrbitAdminController
:mail_sentdate=>@mail_sentdate,
:module_app=>@module_app,
:mail_to=>@group_mail,
- :mail_subject=>mail_from+" #{t('ask.reply')}:",
+ :mail_subject=>" #{t('ask.reply')}:[#{email_er.get_serial_number}]"+mail_from,
:template=>'admin/asks/email',
:template_data=>{
"host_url" => host_url,
diff --git a/app/helpers/admin/asks_helper.rb b/app/helpers/admin/asks_helper.rb
index 85474c6..d22de28 100644
--- a/app/helpers/admin/asks_helper.rb
+++ b/app/helpers/admin/asks_helper.rb
@@ -560,6 +560,8 @@ module Admin::AsksHelper
case format_text[1...-1]
when 'ask_time'
text = text.gsub(format_text,@ask_question.created_at.strftime('%Y/%m/%d %H:%M'))
+ when 'serial_number'
+ text = text.gsub(format_text,@ask_question.get_serial_number.to_s)
when 'title','name','mail','phone','appointment'
text = text.gsub(format_text,@ask_question.send(format_text[1...-1]).to_s)
when 'category'
diff --git a/app/views/admin/asks/_print_format_explain.html.erb b/app/views/admin/asks/_print_format_explain.html.erb
index 741693a..67d93b5 100644
--- a/app/views/admin/asks/_print_format_explain.html.erb
+++ b/app/views/admin/asks/_print_format_explain.html.erb
@@ -4,6 +4,8 @@
{ask_time} -> <%= t('ask.ask_time') %>
+ {serial_number} -> <%= t('ask.serial_number') %>
+
{title} -> <%= t('title') %>
{category} -> <%= t("#{trans}.ask_category_id") %>
@@ -35,7 +37,7 @@
{custom|format} -><%= t("ask.custom_format_explain") %>
- {?_title} -> ?<%= t("ask.can_be_filled_with") %>ask_time、title、category、name、sex、mail、phone、appointment、agree_show、custom、custom1、custom2、custom3 ...,<%= t("ask.show_title_trans") %>, <%= t("ask.like") %>{sex_title}-><%= t("#{trans}.sex") %>
+ {?_title} -> ?<%= t("ask.can_be_filled_with") %>ask_time、serial_number、title、category、name、sex、mail、phone、appointment、agree_show、custom、custom1、custom2、custom3 ...,<%= t("ask.show_title_trans") %>, <%= t("ask.like") %>{sex_title}-><%= t("#{trans}.sex") %>
<%= t("ask.example") %>:
@@ -123,4 +125,4 @@
-
\ No newline at end of file
+