aa
This commit is contained in:
@@ -704,13 +704,13 @@ function showDettOrdini()
|
|||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function showDettOrdiniWeb()
|
function showDettOrdiniWeb($idordine)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$str = "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '<br>';
|
$str = "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '<br>';
|
||||||
|
|
||||||
$orders = AppOrderWeb::all();
|
$orders = AppOrderWeb::where('IdInternet', $idordine)->get();
|
||||||
|
|
||||||
// Show the fields of the orders
|
// Show the fields of the orders
|
||||||
foreach ($orders as $order) {
|
foreach ($orders as $order) {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
in <span style="color: red;">ROSSO</span> quelli ancora non abilitati.
|
in <span style="color: red;">ROSSO</span> quelli ancora non abilitati.
|
||||||
cliccare sul link <span style="font-weight: bold;">Imposta in PREORDINE"</span> per abilitarlo.
|
cliccare sul link <span style="font-weight: bold;">Imposta in PREORDINE"</span> per abilitarlo.
|
||||||
</pre>
|
</pre>
|
||||||
<label for="article_id">ID Articolo:</label>
|
<label for="article_id">ID Articolo or Ordine:</label>
|
||||||
<input type="text" id="article_id" name="id" value="{{$id}}" />
|
<input type="text" id="article_id" name="id" value="{{$id}}" />
|
||||||
<input type="text" id="action" name="action" value="{{$action}}" hidden />
|
<input type="text" id="action" name="action" value="{{$action}}" hidden />
|
||||||
<br>
|
<br>
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
<button type="button" data-action="inprevendita">Libri in Prevendita</button>
|
<button type="button" data-action="inprevendita">Libri in Prevendita</button>
|
||||||
<button type="button" data-action="showOrdini">Mostra Ordini</button>
|
<button type="button" data-action="showOrdini">Mostra Ordini</button>
|
||||||
<button type="button" data-action="showOrdiniWeb">Mostra Ordini Web</button>
|
<button type="button" data-action="showOrdiniWeb">Mostra Ordini Web</button>
|
||||||
|
|
||||||
<button type="button" data-action="showDettOrdini">Dettaglio Ordini</button>
|
<button type="button" data-action="showDettOrdini">Dettaglio Ordini</button>
|
||||||
<button type="button" data-action="showDettOrdiniWeb">Dettaglio Ordini Web</button>
|
<button type="button" data-action="showDettOrdiniWeb">Dettaglio Ordini Web</button>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -6198,6 +6198,8 @@ Route::get('/handle-article-action-pao/{id}/{action}', function ($id, $action) {
|
|||||||
return setOrdine($id, '');
|
return setOrdine($id, '');
|
||||||
} elseif ($action == 'showDettOrdini') {
|
} elseif ($action == 'showDettOrdini') {
|
||||||
return showDettOrdini();
|
return showDettOrdini();
|
||||||
|
} elseif ($action == 'showDettOrdiniWeb') {
|
||||||
|
return showDettOrdiniWeb($id);
|
||||||
} elseif ($action == 'setDataPubblicazione') {
|
} elseif ($action == 'setDataPubblicazione') {
|
||||||
setDataPubblicazione($id, true);
|
setDataPubblicazione($id, true);
|
||||||
} elseif ($action == 'setPreOrder') {
|
} elseif ($action == 'setPreOrder') {
|
||||||
|
|||||||
Reference in New Issue
Block a user