-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
58 lines (48 loc) · 1.81 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>INPUT INVOICE</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body style="background-color: white !important;">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">INVOICE LESMANA DESIGN</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Tambah Invoice <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="lihat/index.php">Lihat Data Invoice</a>
</li>
</ul>
</div>
</nav>
<?php
require 'functions.php';
if (isset($_POST['tambah_client'])) {
client($_POST);
}
?>
<div class="container">
<div class="jumbotron mt-4">
<h2>Input Invoice</h2>
<hr>
<h4>Client</h4>
<form method="POST">
<div class="form-group">
<label for="">Invoice To</label>
<input type="text" name="invoice_to" class="form-control">
</div>
<input type="submit" class="btn btn-success" name="tambah_client" value="Tambah Client">
</form>
</div>
</div>
</body>
</html>