質問編集履歴
1
コードの追加のため
test
CHANGED
File without changes
|
test
CHANGED
@@ -33,3 +33,141 @@
|
|
33
33
|
}
|
34
34
|
|
35
35
|
```
|
36
|
+
|
37
|
+
```php
|
38
|
+
|
39
|
+
<div class="col-sm-4" style="padding:20px 0; padding-left:0px; width:220px; ">
|
40
|
+
|
41
|
+
<h1>お客様検索</h1>
|
42
|
+
|
43
|
+
<form class="form-inline" action="{{route('test.input')}}">
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<input type="text" name="keyword" value="" class="form-control" placeholder="名前を入力してください">
|
48
|
+
|
49
|
+
<input type="submit" value="検索" class="btn btn-info">
|
50
|
+
|
51
|
+
</form>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<div class="col-sm-4" style="padding:20px 0; padding-left:0px; width:220px; margin-right:10px;">
|
58
|
+
|
59
|
+
<h1>メニュー検索</h1>
|
60
|
+
|
61
|
+
<form class="form-inline" action="{{route('test.input')}}">
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<select class="form-control" id="sel01" name="menuword">
|
66
|
+
|
67
|
+
<option selected>カット</option>
|
68
|
+
|
69
|
+
<option value="パーマ" >パーマ</option>
|
70
|
+
|
71
|
+
<option value="カラー" >カラー</option>
|
72
|
+
|
73
|
+
<option value="カット&パーマ" >カット&パーマ</option>
|
74
|
+
|
75
|
+
<option value="カット&カラー" >カット&カラー</option>
|
76
|
+
|
77
|
+
<option value="カット&カラー" >パーマ&カラー</option>
|
78
|
+
|
79
|
+
<option value="トリートメント" >トリートメント</option>
|
80
|
+
|
81
|
+
<option value="その他" >その他(メモ欄へ記入)</option>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</select>
|
86
|
+
|
87
|
+
<input type="submit" value="検索" class="btn btn-info">
|
88
|
+
|
89
|
+
</form>
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<div class="col-sm-4" style="padding:20px 0; padding-left:0px; width:220px;">
|
96
|
+
|
97
|
+
<h1>日付検索</h1>
|
98
|
+
|
99
|
+
<form class="form-inline" action="{{route('test.input')}}">
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<input type="date" name="keydate" value="" class="form-control" >
|
104
|
+
|
105
|
+
<input type="submit" value="検索" class="btn btn-info">
|
106
|
+
|
107
|
+
</form>
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
</div>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
@foreach ($items as $item)
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<div class="frameb" >
|
122
|
+
|
123
|
+
<div class="contents">
|
124
|
+
|
125
|
+
<div class="mailcontent">
|
126
|
+
|
127
|
+
<div class="first-content">
|
128
|
+
|
129
|
+
<p class="customer-name">お客様氏名: {{$item['name']}} 様 <a style="font-size:20px;" href="{{route('setting', ['id' => $item['id']])}}">編集</a></p>
|
130
|
+
|
131
|
+
</div>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
@if($item['email']==Null)
|
136
|
+
|
137
|
+
<p class="group">メールアドレス: 未登録</p>
|
138
|
+
|
139
|
+
@else
|
140
|
+
|
141
|
+
<p class="group">メールアドレス: {{$item['email']}}</p>
|
142
|
+
|
143
|
+
@endif
|
144
|
+
|
145
|
+
@if($item['memo']==Null)
|
146
|
+
|
147
|
+
<p class="group">メモ: なし</p>
|
148
|
+
|
149
|
+
@else
|
150
|
+
|
151
|
+
<div class="memo">
|
152
|
+
|
153
|
+
<p class="memo-main">メモ:</p>
|
154
|
+
|
155
|
+
<p>{!! nl2br ($item['memo'])!!}</p>
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
@endif
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<a href="{{route('detail', ['id' => $item['id']])}}">詳細</a>
|
166
|
+
|
167
|
+
</div>
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
@endforeach
|
172
|
+
|
173
|
+
```
|