<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Page: Orders
*/

if (!defined('ABSPATH'))
{
    exit;
}
?>
<div class="row justify-content-between align-items-center mb-2">
    <div class="col-auto">
        <div class="d-block d-lg-none">
            <button type="button" class="btn btn-outline-light rounded-pill waves-effect p-1" v-if="!orders.searchMobile" @click="orders.searchMobile = true">
                <i class="material-icons material-symbols-outlined">search</i>
            </button>
            <div class="search-bar position-relative mb-sm-0" v-if="orders.searchMobile">
                <input type="text" class="form-control" v-model="orders.search" :placeholder="langs.order.search+ '...'" @keyup="orders.paged = 1">
                <i class="material-icons material-symbols-outlined pdapp-search-icon" @click="orders.searchMobile = false">search</i>
            </div>
        </div>
        <div class="search-bar position-relative mb-sm-0 d-none d-lg-block">
            <input type="text" class="form-control" v-model="orders.search" :placeholder="langs.order.search+ '...'" @keyup="orders.paged = 1">
            <i class="material-icons material-symbols-outlined">search</i>
        </div>
    </div>
    <div class="col-auto">
        <select class="form-select" v-model="orders.status">
            <option value="" :selected="orders.status == ''">{{ langs.order.select_status }}</option>
            <option v-for="(status, sid) in listStatus" :key="sid" :value="status" class="text-capitalize">{{ status }}</option>
        </select>
    </div>
</div>