update printlabel, barcode dan tampilan dashboard access
This commit is contained in:
parent
97ee2d4e2c
commit
d87278c017
@ -322,5 +322,6 @@ P1
|
|||||||
$sample = $data['SAMPLETYPE'];
|
$sample = $data['SAMPLETYPE'];
|
||||||
$this->printSingle($access, $sample);
|
$this->printSingle($access, $sample);
|
||||||
}
|
}
|
||||||
|
$this->labelPostekCollection($access);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
|||||||
<div class="card-title"><h3>Sample List</h3></div>
|
<div class="card-title"><h3>Sample List</h3></div>
|
||||||
<table class='table'>
|
<table class='table'>
|
||||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||||
<tr>
|
|
||||||
<td></td> <td></td> <td>Collection</td>
|
|
||||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td></td> <td></td> <td>All</td>
|
<td></td> <td></td> <td>All</td>
|
||||||
<td>
|
<td>
|
||||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
|||||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td> <td></td> <td>Collection</td>
|
||||||
|
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach($data as $row) {
|
foreach($data as $row) {
|
||||||
$sampletype = $row['SAMPLETYPE'];
|
$sampletype = $row['SAMPLETYPE'];
|
||||||
$sampletext = $row['SHORTTEXT'];
|
$sampletext = $row['SHORTTEXT'];
|
||||||
|
if ($sampletype == "200") {
|
||||||
|
$sampletext = "Serum Kimia";
|
||||||
|
} else if ($sampletype == '250') {
|
||||||
|
$sampletext = "Serum Imun";
|
||||||
|
}
|
||||||
$tubestatus = $row['TUBESTATUS'];
|
$tubestatus = $row['TUBESTATUS'];
|
||||||
$collstatus = $row['COLLSTATUS'];
|
$collstatus = $row['COLLSTATUS'];
|
||||||
$comment = $row['TUBECOMMENT'];
|
$comment = $row['TUBECOMMENT'];
|
||||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
|||||||
} else {
|
} else {
|
||||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||||
}
|
}
|
||||||
echo "<td>$sampletext</td>";
|
echo "<td>$sampletext ($sampletype)</td>";
|
||||||
echo "<td>
|
echo "<td>
|
||||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||||
|
|||||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
|||||||
<div class="card-title"><h3>Sample List</h3></div>
|
<div class="card-title"><h3>Sample List</h3></div>
|
||||||
<table class='table'>
|
<table class='table'>
|
||||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||||
<tr>
|
|
||||||
<td></td> <td></td> <td>Collection</td>
|
|
||||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td></td> <td></td> <td>All</td>
|
<td></td> <td></td> <td>All</td>
|
||||||
<td>
|
<td>
|
||||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
|||||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td> <td></td> <td>Collection</td>
|
||||||
|
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach($data as $row) {
|
foreach($data as $row) {
|
||||||
$sampletype = $row['SAMPLETYPE'];
|
$sampletype = $row['SAMPLETYPE'];
|
||||||
$sampletext = $row['SHORTTEXT'];
|
$sampletext = $row['SHORTTEXT'];
|
||||||
|
if ($sampletype == "200") {
|
||||||
|
$sampletext = "Serum Kimia";
|
||||||
|
} else if ($sampletype == '250') {
|
||||||
|
$sampletext = "Serum Imun";
|
||||||
|
}
|
||||||
$tubestatus = $row['TUBESTATUS'];
|
$tubestatus = $row['TUBESTATUS'];
|
||||||
$collstatus = $row['COLLSTATUS'];
|
$collstatus = $row['COLLSTATUS'];
|
||||||
$comment = $row['TUBECOMMENT'];
|
$comment = $row['TUBECOMMENT'];
|
||||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
|||||||
} else {
|
} else {
|
||||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||||
}
|
}
|
||||||
echo "<td>$sampletext</td>";
|
echo "<td>$sampletext ($sampletype)</td>";
|
||||||
echo "<td>
|
echo "<td>
|
||||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||||
|
|||||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
|||||||
<div class="card-title"><h3>Sample List</h3></div>
|
<div class="card-title"><h3>Sample List</h3></div>
|
||||||
<table class='table'>
|
<table class='table'>
|
||||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||||
<tr>
|
|
||||||
<td></td> <td></td> <td>Collection</td>
|
|
||||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td></td> <td></td> <td>All</td>
|
<td></td> <td></td> <td>All</td>
|
||||||
<td>
|
<td>
|
||||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
|||||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td> <td></td> <td>Collection</td>
|
||||||
|
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach($data as $row) {
|
foreach($data as $row) {
|
||||||
$sampletype = $row['SAMPLETYPE'];
|
$sampletype = $row['SAMPLETYPE'];
|
||||||
$sampletext = $row['SHORTTEXT'];
|
$sampletext = $row['SHORTTEXT'];
|
||||||
|
if ($sampletype == "200") {
|
||||||
|
$sampletext = "Serum Kimia";
|
||||||
|
} else if ($sampletype == '250') {
|
||||||
|
$sampletext = "Serum Imun";
|
||||||
|
}
|
||||||
$tubestatus = $row['TUBESTATUS'];
|
$tubestatus = $row['TUBESTATUS'];
|
||||||
$collstatus = $row['COLLSTATUS'];
|
$collstatus = $row['COLLSTATUS'];
|
||||||
$comment = $row['TUBECOMMENT'];
|
$comment = $row['TUBECOMMENT'];
|
||||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
|||||||
} else {
|
} else {
|
||||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||||
}
|
}
|
||||||
echo "<td>$sampletext</td>";
|
echo "<td>$sampletext ($sampletype)</td>";
|
||||||
echo "<td>
|
echo "<td>
|
||||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||||
|
|||||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
|||||||
<div class="card-title"><h3>Sample List</h3></div>
|
<div class="card-title"><h3>Sample List</h3></div>
|
||||||
<table class='table'>
|
<table class='table'>
|
||||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||||
<tr>
|
|
||||||
<td></td> <td></td> <td>Collection</td>
|
|
||||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td></td> <td></td> <td>All</td>
|
<td></td> <td></td> <td>All</td>
|
||||||
<td>
|
<td>
|
||||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
|||||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td> <td></td> <td>Collection</td>
|
||||||
|
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach($data as $row) {
|
foreach($data as $row) {
|
||||||
$sampletype = $row['SAMPLETYPE'];
|
$sampletype = $row['SAMPLETYPE'];
|
||||||
$sampletext = $row['SHORTTEXT'];
|
$sampletext = $row['SHORTTEXT'];
|
||||||
|
if ($sampletype == "200") {
|
||||||
|
$sampletext = "Serum Kimia";
|
||||||
|
} else if ($sampletype == '250') {
|
||||||
|
$sampletext = "Serum Imun";
|
||||||
|
}
|
||||||
$tubestatus = $row['TUBESTATUS'];
|
$tubestatus = $row['TUBESTATUS'];
|
||||||
$collstatus = $row['COLLSTATUS'];
|
$collstatus = $row['COLLSTATUS'];
|
||||||
$comment = $row['TUBECOMMENT'];
|
$comment = $row['TUBECOMMENT'];
|
||||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
|||||||
} else {
|
} else {
|
||||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||||
}
|
}
|
||||||
echo "<td>$sampletext</td>";
|
echo "<td>$sampletext ($sampletype)</td>";
|
||||||
echo "<td>
|
echo "<td>
|
||||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user