Spaces:
Running

eisys / index.html
Zon3's picture
Add 3 files
0a74983 verified
Raw History Blame Contribute Delete
87.2 kB
<!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>StockMaster - Gerenciamento de Estoque</title> <script src="https://cdn.tailwindcss.com"></script> <script> tailwind.config = { theme: { extend: { colors: { primary: '#3B82F6', 'primary-dark': '#2563EB', danger: '#EF4444', 'danger-dark': '#DC2626', success: '#10B981', 'success-dark': '#059669', warning: '#F59E0B', 'warning-dark': '#D97706' } } } } </script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> @import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128&display=swap'); .sidebar { transition: all 0.3s ease; } .sidebar.collapsed { width: 70px; } .sidebar.collapsed .sidebar-text { display: none; } .sidebar.collapsed .logo-text { display: none; } .sidebar.collapsed .nav-item { justify-content: center; } .main-content { transition: all 0.3s ease; margin-left: 16rem; } .main-content.expanded { margin-left: 5rem; } .barcode { font-family: 'Libre Barcode 128', cursive; font-size: 24px; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.3s ease-out forwards; } .variation-item { transition: all 0.3s ease; } .variation-item:hover { background-color: #f3f4f6; } .dropdown:hover .dropdown-menu { display: block; } [x-cloak] { display: none !important; } </style> </head> <body class="bg-gray-100 font-sans"> <div class="flex h-screen"> <!-- Sidebar --> <div id="sidebar" class="sidebar bg-gray-900 text-white w-64 fixed h-full overflow-y-auto"> <div class="p-4 flex items-center space-x-2"> <i class="fas fa-boxes text-primary text-2xl"></i> <span class="logo-text text-xl font-bold">StockMaster</span> </div> <nav class="mt-6"> <div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text"> Principal </div> <a href="#" id="dashboard-link" class="nav-item flex items-center px-4 py-3 text-white bg-primary"> <i class="fas fa-tachometer-alt mr-3"></i> <span class="sidebar-text">Dashboard</span> </a> <div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text"> Gerenciamento </div> <a href="#" id="products-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-boxes mr-3"></i> <span class="sidebar-text">Produtos</span> </a> <a href="#" id="categories-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-tags mr-3"></i> <span class="sidebar-text">Categorias</span> </a> <a href="#" id="suppliers-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-truck mr-3"></i> <span class="sidebar-text">Fornecedores</span> </a> <a href="#" id="inventory-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-warehouse mr-3"></i> <span class="sidebar-text">Inventário</span> </a> <div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text"> Movimentações </div> <a href="#" id="entries-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-arrow-down mr-3"></i> <span class="sidebar-text">Entradas</span> </a> <a href="#" id="outputs-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-arrow-up mr-3"></i> <span class="sidebar-text">Saídas</span> </a> <a href="#" id="transfers-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-exchange-alt mr-3"></i> <span class="sidebar-text">Transferências</span> </a> <div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text"> Relatórios </div> <a href="#" id="reports-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-chart-bar mr-3"></i> <span class="sidebar-text">Relatórios</span> </a> <a href="#" id="stock-alerts-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-bell mr-3"></i> <span class="sidebar-text">Alertas</span> </a> <div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text"> Configurações </div> <a href="#" id="users-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-users mr-3"></i> <span class="sidebar-text">Usuários</span> </a> <a href="#" id="settings-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white"> <i class="fas fa-cog mr-3"></i> <span class="sidebar-text">Configurações</span> </a> </nav> </div> <!-- Main Content --> <div id="main-content" class="main-content flex-1 overflow-y-auto"> <!-- Top Navigation --> <header class="bg-white shadow-sm"> <div class="flex justify-between items-center px-6 py-4"> <div class="flex items-center"> <button id="toggle-sidebar" class="mr-4 text-gray-500 hover:text-gray-700"> <i class="fas fa-chevron-left"></i> </button> <h1 id="page-title" class="text-xl font-semibold text-gray-800">Dashboard</h1> </div> <div class="flex items-center space-x-4"> <div class="relative"> <button class="text-gray-500 hover:text-gray-700"> <i class="fas fa-bell"></i> <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-danger"></span> </button> </div> <div class="relative dropdown"> <button class="flex items-center space-x-2 focus:outline-none"> <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User"> <span class="hidden md:inline-block">Admin</span> <i class="fas fa-chevron-down text-xs"></i> </button> <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50 hidden"> <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Perfil</a> <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Configurações</a> <div class="border-t border-gray-100"></div> <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sair</a> </div> </div> </div> </div> </header> <!-- Content Sections --> <main class="p-6"> <!-- Dashboard Content --> <div id="dashboard-content"> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500 text-sm font-medium">Total de Produtos</p> <h3 id="total-products" class="text-2xl font-bold text-gray-800">0</h3> </div> <div class="p-3 rounded-full bg-blue-100 text-primary"> <i class="fas fa-boxes text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500 text-sm font-medium">Estoque Baixo</p> <h3 id="low-stock" class="text-2xl font-bold text-gray-800">0</h3> </div> <div class="p-3 rounded-full bg-red-100 text-danger"> <i class="fas fa-exclamation-triangle text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500 text-sm font-medium">Vendas Hoje</p> <h3 id="today-sales" class="text-2xl font-bold text-gray-800">0</h3> </div> <div class="p-3 rounded-full bg-green-100 text-success"> <i class="fas fa-shopping-cart text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500 text-sm font-medium">Fornecedores</p> <h3 id="total-suppliers" class="text-2xl font-bold text-gray-800">0</h3> </div> <div class="p-3 rounded-full bg-yellow-100 text-warning"> <i class="fas fa-truck text-xl"></i> </div> </div> </div> </div> <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6"> <div class="bg-white rounded-lg shadow p-6"> <div class="flex justify-between items-center mb-4"> <h3 class="text-lg font-semibold text-gray-800">Produtos com Estoque Baixo</h3> <a href="#" class="text-sm text-primary hover:underline">Ver todos</a> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Produto</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Estoque</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Mínimo</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ação</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt=""> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Camiseta Branca</div> <div class="text-sm text-gray-500">REF: CM001</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">5</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">10</td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-primary hover:text-primary-dark">Comprar</a> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt=""> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Calça Jeans</div> <div class="text-sm text-gray-500">REF: CJ002</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">8</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15</td> <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> <a href="#" class="text-primary hover:text-primary-dark">Comprar</a> </td> </tr> </tbody> </table> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex justify-between items-center mb-4"> <h3 class="text-lg font-semibold text-gray-800">Últimas Movimentações</h3> <a href="#" class="text-sm text-primary hover:underline">Ver todas</a> </div> <div class="space-y-4"> <div class="flex items-start"> <div class="flex-shrink-0"> <span class="h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-success"> <i class="fas fa-arrow-down"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Entrada de estoque</div> <div class="text-sm text-gray-500">50 unidades de Camiseta Branca</div> <div class="mt-1 text-xs text-gray-400">2 horas atrás</div> </div> </div> <div class="flex items-start"> <div class="flex-shrink-0"> <span class="h-10 w-10 rounded-full bg-red-100 flex items-center justify-center text-danger"> <i class="fas fa-arrow-up"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Saída de estoque</div> <div class="text-sm text-gray-500">12 unidades de Calça Jeans</div> <div class="mt-1 text-xs text-gray-400">5 horas atrás</div> </div> </div> <div class="flex items-start"> <div class="flex-shrink-0"> <span class="h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-primary"> <i class="fas fa-exchange-alt"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Transferência</div> <div class="text-sm text-gray-500">20 unidades de Tênis Esportivo para Loja B</div> <div class="mt-1 text-xs text-gray-400">Ontem</div> </div> </div> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6"> <div class="flex justify-between items-center mb-4"> <h3 class="text-lg font-semibold text-gray-800">Vendas Mensais</h3> <div class="flex space-x-2"> <button class="px-3 py-1 text-sm bg-gray-100 rounded-md">Mês</button> <button class="px-3 py-1 text-sm bg-primary text-white rounded-md">Ano</button> </div> </div> <div class="h-64"> <canvas id="salesChart"></canvas> </div> </div> </div> <!-- Products Content --> <div id="products-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Produtos</h2> <button id="add-product-btn" class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus mr-2"></i> Adicionar Produto </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> <div class="p-4 border-b border-gray-200"> <div class="flex flex-col md:flex-row md:items-center md:justify-between"> <div class="mb-4 md:mb-0"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm" placeholder="Buscar produtos..."> </div> </div> <div class="flex space-x-2"> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Categoria</option> <option>Roupas</option> <option>Calçados</option> <option>Acessórios</option> </select> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Status</option> <option>Ativo</option> <option>Inativo</option> <option>Estoque Baixo</option> </select> </div> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Produto</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Código</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Categoria</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Estoque</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Preço</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt=""> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Camiseta Branca</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">CM001</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Roupas</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">45</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">R$ 49,90</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt=""> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Calça Jeans</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">CJ002</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Roupas</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">8</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">R$ 129,90</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Estoque Baixo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt=""> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Tênis Esportivo</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">TE003</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Calçados</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">22</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">R$ 199,90</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> </tbody> </table> </div> <div class="bg-gray-50 px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"> <div class="flex-1 flex justify-between sm:hidden"> <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">Anterior</a> <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">Próxima</a> </div> <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> <div> <p class="text-sm text-gray-700"> Mostrando <span class="font-medium">1</span> a <span class="font-medium">3</span> de <span class="font-medium">24</span> resultados </p> </div> <div> <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Anterior</span> <i class="fas fa-chevron-left"></i> </a> <a href="#" aria-current="page" class="z-10 bg-primary border-primary text-white relative inline-flex items-center px-4 py-2 border text-sm font-medium">1</a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">2</a> <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">3</a> <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> <span class="sr-only">Próxima</span> <i class="fas fa-chevron-right"></i> </a> </nav> </div> </div> </div> </div> </div> <!-- Categories Content --> <div id="categories-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Categorias</h2> <button id="add-category-btn" class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus mr-2"></i> Adicionar Categoria </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> <div class="p-4 border-b border-gray-200"> <div class="relative max-w-xs"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm" placeholder="Buscar categorias..."> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nome</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Descrição</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Produtos</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <span class="h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-primary"> <i class="fas fa-tshirt"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Roupas</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-500">Camisetas, calças, blusas, etc.</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">45</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <span class="h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-success"> <i class="fas fa-shoe-prints"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Calçados</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-500">Tênis, sapatos, sandálias, etc.</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">32</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <span class="h-10 w-10 rounded-full bg-yellow-100 flex items-center justify-center text-warning"> <i class="fas fa-ring"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Acessórios</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-500">Relógios, óculos, bijuterias, etc.</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">18</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Suppliers Content --> <div id="suppliers-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Fornecedores</h2> <button id="add-supplier-btn" class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus mr-2"></i> Adicionar Fornecedor </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> <div class="p-4 border-b border-gray-200"> <div class="relative max-w-xs"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm" placeholder="Buscar fornecedores..."> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Fornecedor</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Contato</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Telefone</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <span class="h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-primary"> <i class="fas fa-building"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Confecções ABC</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">João Silva</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">(11) 9999-9999</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">joao@confeccoesabc.com</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <span class="h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-success"> <i class="fas fa-warehouse"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Calçados XYZ</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Maria Souza</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">(11) 8888-8888</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">maria@calcadosxyz.com</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10"> <span class="h-10 w-10 rounded-full bg-yellow-100 flex items-center justify-center text-warning"> <i class="fas fa-gem"></i> </span> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Acessórios 123</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Carlos Oliveira</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">(11) 7777-7777</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">carlos@acessorios123.com</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Inativo</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-edit"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Inventory Content --> <div id="inventory-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Inventário</h2> <div class="flex space-x-2"> <button class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-file-export mr-2"></i> Exportar </button> <button class="bg-success hover:bg-success-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus mr-2"></i> Novo Inventário </button> </div> </div> <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> <div class="p-4 border-b border-gray-200"> <div class="flex flex-col md:flex-row md:items-center md:justify-between"> <div class="mb-4 md:mb-0"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm" placeholder="Buscar inventários..."> </div> </div> <div class="flex space-x-2"> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Status</option> <option>Em Andamento</option> <option>Finalizado</option> <option>Cancelado</option> </select> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Ordenar por</option> <option>Mais Recente</option> <option>Mais Antigo</option> </select> </div> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Código</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Data</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Responsável</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Itens</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">INV-2023-001</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">João Silva</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">124</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Finalizado</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">INV-2023-002</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">01/07/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Maria Souza</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">87</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Em Andamento</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-success hover:text-success-dark"><i class="fas fa-check"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">INV-2023-003</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">10/05/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Carlos Oliveira</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">56</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Cancelado</span> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Entries Content --> <div id="entries-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Entradas de Estoque</h2> <button id="add-entry-btn" class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus mr-2"></i> Nova Entrada </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> <div class="p-4 border-b border-gray-200"> <div class="flex flex-col md:flex-row md:items-center md:justify-between"> <div class="mb-4 md:mb-0"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm" placeholder="Buscar entradas..."> </div> </div> <div class="flex space-x-2"> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Fornecedor</option> <option>Confecções ABC</option> <option>Calçados XYZ</option> <option>Acessórios 123</option> </select> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Ordenar por</option> <option>Mais Recente</option> <option>Mais Antigo</option> </select> </div> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nota Fiscal</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Fornecedor</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Data</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Itens</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Valor</th> <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">NF-123456</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Confecções ABC</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">12</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">R$ 1.245,90</div> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">NF-789012</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Calçados XYZ</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">01/07/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">8</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">R$ 899,50</div> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">NF-345678</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Acessórios 123</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">10/05/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">5</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">R$ 450,00</div> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Outputs Content --> <div id="outputs-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Saídas de Estoque</h2> <button id="add-output-btn" class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus mr-2"></i> Nova Saída </button> </div> <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> <div class="p-4 border-b border-gray-200"> <div class="flex flex-col md:flex-row md:items-center md:justify-between"> <div class="mb-4 md:mb-0"> <div class="relative"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm" placeholder="Buscar saídas..."> </div> </div> <div class="flex space-x-2"> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Destino</option> <option>Venda</option> <option>Transferência</option> <option>Perda</option> </select> <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm rounded-md"> <option>Ordenar por</option> <option>Mais Recente</option> <option>Mais Antigo</option> </select> </div> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Número</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Destino</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Data</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Itens</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Responsável</th> <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Ações</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">SAI-2023-001</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Venda</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">15/06/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">3</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">João Silva</div> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">SAI-2023-002</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Transferência</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">01/07/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">5</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Maria Souza</div> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">SAI-2023-003</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Perda</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">10/05/2023</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">2</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Carlos Oliveira</div> </td> <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> <div class="flex justify-end space-x-2"> <a href="#" class="text-primary hover:text-primary-dark"><i class="fas fa-eye"></i></a> <a href="#" class="text-danger hover:text-danger-dark"><i class="fas fa-trash"></i></a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Transfers Content --> <div id="transfers-content" class="hidden"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-gray-800">Transferências</h2> <button id="add-transfer-btn" class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-lg flex items-center"> <i class="fas fa-plus </html>
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StockMaster - Gerenciamento de Estoque</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3B82F6',
'primary-dark': '#2563EB',
danger: '#EF4444',
'danger-dark': '#DC2626',
success: '#10B981',
'success-dark': '#059669',
warning: '#F59E0B',
'warning-dark': '#D97706'
}
}
}
}
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128&display=swap');
.sidebar {
transition: all 0.3s ease;
}
.sidebar.collapsed {
width: 70px;
}
.sidebar.collapsed .sidebar-text {
display: none;
}
.sidebar.collapsed .logo-text {
display: none;
}
.sidebar.collapsed .nav-item {
justify-content: center;
}
.main-content {
transition: all 0.3s ease;
margin-left: 16rem;
}
.main-content.expanded {
margin-left: 5rem;
}
.barcode {
font-family: 'Libre Barcode 128', cursive;
font-size: 24px;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 0.3s ease-out forwards;
}
.variation-item {
transition: all 0.3s ease;
}
.variation-item:hover {
background-color: #f3f4f6;
}
.dropdown:hover .dropdown-menu {
display: block;
}
[x-cloak] { display: none !important; }
</style>
</head>
<body class="bg-gray-100 font-sans">
<div class="flex h-screen">
<!-- Sidebar -->
<div id="sidebar" class="sidebar bg-gray-900 text-white w-64 fixed h-full overflow-y-auto">
<div class="p-4 flex items-center space-x-2">
<i class="fas fa-boxes text-primary text-2xl"></i>
<span class="logo-text text-xl font-bold">StockMaster</span>
</div>
<nav class="mt-6">
<div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text">
Principal
</div>
<a href="#" id="dashboard-link" class="nav-item flex items-center px-4 py-3 text-white bg-primary">
<i class="fas fa-tachometer-alt mr-3"></i>
<span class="sidebar-text">Dashboard</span>
</a>
<div class="px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider sidebar-text">
Gerenciamento
</div>
<a href="#" id="products-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white">
<i class="fas fa-boxes mr-3"></i>
<span class="sidebar-text">Produtos</span>
</a>
<a href="#" id="categories-link" class="nav-item flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white">