aa
This commit is contained in:
@@ -704,13 +704,13 @@ function showDettOrdini()
|
||||
return $str;
|
||||
}
|
||||
|
||||
function showDettOrdiniWeb()
|
||||
function showDettOrdiniWeb($idordine)
|
||||
{
|
||||
try {
|
||||
|
||||
$str = "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '<br>';
|
||||
|
||||
$orders = AppOrderWeb::all();
|
||||
$orders = AppOrderWeb::where('IdInternet', $idordine)->get();
|
||||
|
||||
// Show the fields of the orders
|
||||
foreach ($orders as $order) {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
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.
|
||||
</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="action" name="action" value="{{$action}}" hidden />
|
||||
<br>
|
||||
@@ -55,6 +55,7 @@
|
||||
<button type="button" data-action="inprevendita">Libri in Prevendita</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="showDettOrdini">Dettaglio Ordini</button>
|
||||
<button type="button" data-action="showDettOrdiniWeb">Dettaglio Ordini Web</button>
|
||||
</form>
|
||||
|
||||
@@ -6198,6 +6198,8 @@ Route::get('/handle-article-action-pao/{id}/{action}', function ($id, $action) {
|
||||
return setOrdine($id, '');
|
||||
} elseif ($action == 'showDettOrdini') {
|
||||
return showDettOrdini();
|
||||
} elseif ($action == 'showDettOrdiniWeb') {
|
||||
return showDettOrdiniWeb($id);
|
||||
} elseif ($action == 'setDataPubblicazione') {
|
||||
setDataPubblicazione($id, true);
|
||||
} elseif ($action == 'setPreOrder') {
|
||||
|
||||
Reference in New Issue
Block a user