Ejemplo n.º 1
0
								<div class="col-xs-8"><?php 
        echo iconPkgStatuses($pkg_statuses[0]->status_text) . ' ' . readablePkgStatuses($pkg_statuses[0]->status_text);
        ?>
</div>
							</div>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Тип:</div>
								<div class="col-xs-8"><?php 
        echo $v->track_type;
        ?>
</div>
							</div>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Номер:</div>
								<div class="col-xs-8"><?php 
        echo getTrackCheckLink($v->track_type, $v->track_num);
        ?>
</div>
							</div>

						</div>

					</div>
				</div>
			</div>
	
			<div class="col-md-6 col-xs-12">
				<div class="panel panel-default">
					<div class="panel-heading"><strong class="panel-title">Заметки</strong></div>
					<div class="panel-body">
						
Ejemplo n.º 2
0
				<div class="panel panel-default">
					<div class="panel-heading"><strong class="panel-title">Треки</strong> <small class="pull-right">Новые сверху</small></div>
					<div class="panel-body">
						<div class="container-fluid">
							<?php 
        $tracks = getPkgTracks($v->id);
        if (isset($tracks[0])) {
            foreach ($tracks as $track_list) {
                ?>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4"><?php 
                echo $track_list->track_type;
                ?>
</div>
								<div class="col-xs-8"><?php 
                echo getTrackCheckLink($track_list->track_type, $track_list->track_num);
                ?>
</div>
							</div>
							<?php 
            }
        }
        ?>
						</div>
					</div>							
				</div>	


				<div class="panel panel-default">
					<div class="panel-heading"><strong class="panel-title">Добавить</strong></div>
					<div class="panel-body">
Ejemplo n.º 3
0
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo $gv->action . '<br>';
            }
            ?>
</td>
						<td class="text-center"><?php 
            foreach ($v as $gv) {
                echo iconPkgStatuses($gv->status_text) . '<br />';
            }
            ?>
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo $gv->track_type . ' ' . getTrackCheckLink($gv->track_type, $gv->track_num) . '<br>';
            }
            ?>
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo getFullUserNameById($gv->shipper_id) . '<br>';
            }
            ?>
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo getFullUserNameById($gv->drop_id) . '<br>';
            }
            ?>
</td>
Ejemplo n.º 4
0
$pkg = getPackagesWithSortByDrop();
if ($pkg !== false) {
    foreach ($pkg as $k => $v) {
        if (!is_array($v)) {
            $pkg_status = getPackageStatus($v->id);
            ?>
					<tr data-user-id="<?php 
            echo $v->id;
            ?>
">
						<td style="max-width:220px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;"><?php 
            echo $v->pkg_drop_number;
            ?>
</td>							
						<td><?php 
            echo $v->track_type . ' ' . getTrackCheckLink($v->track_type, $v->track_num);
            ?>
</td>
						<?php 
            if ($user['rankname'] == 'shipper' || $user['rankname'] == 'admin') {
                ?>
							<td style="max-width:120px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;"><?php 
                echo $v->item;
                ?>
</td>						
						<?php 
            }
            ?>
						<td class="euro" <?php 
            if ($user['rankname'] == 'admin') {
                echo 'contenteditable="true"';