コード例 #1
0
ファイル: index.blade.php プロジェクト: enotsokolov/vp_plus
                                    <div id="fileExp" class="tab-pane active">
                                        <div class="clients-list">
                                            <div class="tab-content">
                                                <div class="table-responsive">
                                                    <table class="table table-striped table-hover">
                                                        <tbody>
                                                        @foreach($exportFiles as $expfile)
                                                            <tr>
                                                                <td><i class="fa fa-file-o"></i> <a class="font-bold def" href="{{$expfile->path}}">{{$expfile->filename}}</a></td>
                                                                <td><?php 
echo plural_form($expfile->count, 'товар');
?>
</td>
                                                                <td class="text-right"><a class="h_def" href="{{ route('user.show', ['id' => $expfile->user_id]) }}">{{$expfile->username}}</a> <?php 
echo ch_date($expfile->created_at);
?>
</td>
                                                            </tr>
                                                        @endforeach
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div id="fileImp" class="tab-pane">
                                        <div class="clients-list">
                                            <div class="tab-content">
                                                <div class="table-responsive">
コード例 #2
0
ファイル: index.blade.php プロジェクト: enotsokolov/vp_plus
                                        <tr>
                                            <td class="w10p">
                                                <span class="{{$element->color_label}}">{{$element->label}}</span>
                                            </td>
                                            <td class="issue-info">
                                                <a href="#">
                                                    <a class="h_def" href="{{ route('user.show',array('id'=>$element->user_id),false) }}">{{$element->username}}</a>
                                                </a>

                                                <small>
                                                    {!! $element->action !!}
                                                </small>
                                            </td>
                                            <td class="w10p">
                                                <?php 
echo ch_date($element->created_at);
?>
                                            </td>
                                        </tr>
                                        <?php 
if ($i == 10) {
    break;
}
?>
                                        <?php 
$i++;
?>
                                    @endforeach
                                    </tbody>
                                </table>
                            </div>
コード例 #3
0
ファイル: table.blade.php プロジェクト: enotsokolov/vp_plus
                    <input type="text" class="ef mini" id="text_col_discount_bulk_{{$purchase->id}}" data-id="{{$purchase->id}}" name="{{$purchase->id}}[discount_bulk][new]" value="{{$purchase->discount_bulk}}">
                    <input type="hidden" value="{{$purchase->discount_bulk}}" name="{{$purchase->id}}[discount_bulk][old]">
                @else
                    <div class="dib" id="text_col_discount_bulk_{{$purchase->id}}">{{$purchase->discount_bulk}} %
                @endif
            </td>

            <td>
                <div class="ef dib" id="text_col_zakup_{{$purchase->id}}"></div> <i class="fa fa-rub"></i>
            </td>

            <td class=" @if(!isset($fields['col_comment'])) col_hide @endif ">
                @if(right('EditPurchase'))
                    <input type="text" class="ef" id="text_col_comment_{{$purchase->id}}" data-id="{{$purchase->id}}" name="{{$purchase->id}}[comment][new]" value="{{$purchase->comment}}">
                    <input type="hidden" value="{{$purchase->comment}}" name="{{$purchase->id}}[comment][old]">
                @else
                    <div class="dib" id="text_col_comment_{{$purchase->id}}">{{$purchase->comment}}</div>
                @endif
            </td>

            <td class=" @if(!isset($fields['col_update'])) col_hide @endif ">
                <?php 
echo ch_date($purchase->updated_at);
?>
, <a class="h_def" href="{{ route('user.show',array('id'=>$purchase->user_id)) }}">{{$purchase->username}}</a>
            </td>

        </tr>
    @endforeach
    </tbody>
</table>
コード例 #4
0
ファイル: show.blade.php プロジェクト: enotsokolov/vp_plus
                                            <i class="fa fa-check c_green"></i>
                                        @else
                                            <i class="fa fa-times c_red"></i>
                                        @endif
                                    </td>
                                    <td>
                                        @if($his_site->yandex_enabled)
                                            <i class="fa fa-check c_green"></i>
                                        @else
                                            <i class="fa fa-times c_red"></i>
                                        @endif
                                    </td>
                                    <td>{{$his_site->price}} {{$his_site->currency}}</td>
                                    <td>
                                        <?php 
echo ch_date($his_site->created_at);
?>
, <a class="h_def" href="{{ route('user.show',array('id'=>$his_site->user_id),false) }}">{{$his_site->username}}</a>
                                    </td>
                                </tr>
                            @endforeach
                            </tbody>
                        </table>
                    </div>
                @else
                    Нет данных
                @endif
            </div>
        </div>
    </div>
コード例 #5
0
ファイル: index.blade.php プロジェクト: enotsokolov/vp_plus
                            <table class="table table-hover issue-tracker">
                                <tbody>
                                @foreach($notes as $note)
                                    <tr>
                                        <td class="issue-info">
                                            <a href="#">
                                                <a class="h_def" href="{{ route('user.show',array('id'=>$note->user_id),false) }}">{{$note->username}}</a>
                                            </a>

                                            <small>
                                                {{$note->message}}
                                            </small>
                                        </td>
                                        <td class="w10p">
                                            <?php 
echo ch_date($note->date);
?>
                                        </td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                        </div>
                            <?php 
echo $notes->render();
?>
                    </div>

                </div>
            </div>
        </div>
コード例 #6
0
ファイル: table.blade.php プロジェクト: enotsokolov/vp_plus
            </td>

            {{--ТРЕТИЙ ПОСТАВЩИК--}}
            <td class=" @if(!isset($fields['col_provider_3'])) col_hide @endif ">
                @if(isset($product->terms[2]))
                    <div data-toggle="tooltip" data-placement="top" title="" data-original-title="{{$product->terms[2]->vendor}} ({{$product->terms[2]->zakup}})">
                        <input type="hidden" value="{{$product->terms[2]->base_price}}" id="text_col_base_price_3_{{$product->id}}">
                        <select class="dn" id="select_col_base_price_3_currency_{{$product->id}}">
                            <option value="{{$product->terms[2]->currency}}"></option>
                        </select>
                        <input type="hidden" value="{{$product->terms[2]->zakup}}" id="text_col_zakup_3_{{$product->id}}">
                        <div class="ef dib" id="text_col_fact_prib_rub_3_{{$product->id}}" data-id="{{$product->id}}"></div>
                        <i class="fa fa-rub"></i>
                        <div class="ef dib" id="text_col_fact_prib_proc_3_{{$product->id}}" data-id="{{$product->id}}"></div>
                        <div class="dib"> % </div>
                    </div>
                @endif
            </td>

            <td class=" @if(!isset($fields['col_update'])) col_hide @endif ">
                <?php 
echo ch_date($product->updated_at);
?>
, <a class="h_def" href="{{ route('user.show',array('id'=>$product->user_id),false) }}">{{$product->username}}</a>
            </td>

        </tr>
    @endforeach
    </tbody>
</table>
コード例 #7
0
ファイル: index.blade.php プロジェクト: enotsokolov/vp_plus
                            <table class="table table-striped table-hover">
                                <thead>
                                <tr>
                                    <th>Валюта</th>
                                    <th>Курс</th>
                                    <th>Дата обновления</th>
                                    <th>Пользователь</th>
                                </tr>
                                </thead>
                                <tbody>
                                @foreach($values as $value)
                                    <tr>
                                        <td scope="row">{{$value->currency}}</td>
                                        <td>{{$value->rate}}</td>
                                        <td><?php 
echo ch_date($value->created);
?>
</td>
                                        <td>@if(empty($value->username)) Auto @else <a class="h_def" href="{{ route('user.show',array('user_id' => $value->id)) }}">{{$value->username}}</a> @endif</td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                            <div class="text-right">
                                <?php 
echo $values->render();
?>
                            </div>
                        </div>
                    </div>
                </div>