<?php

namespace CarDealerPress\Templates\Admin\Shortcode;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

function inventory_search() {
	$content = '<div id="content-inventory-search" class="sc-tab-content">
<div class="sc-info-header">		
<div class="sc-info-call"><span>Minimum Usage: [inventory_search]</span></div>
<div class="sc-info-usage"><span>Example Usage: [inventory_search show_trims=1 show_search=0 style=wide]</span></div>
</div>
<table class="sc-info-table-params">';
	$content .= short_code_parameters_headers();
	$content .= '
	<tbody>
    <tr>
		<td class="td-full center">saleclass_display</td>
		<td class="td-full center">0=New,Used,Certified, 1=New,Used 2=Used,Certified, 3=New, 4=Used, 5=Certified</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">saleclass_default</td>
		<td class="td-full center">0=Nothing, 1=New, 2=Used, 3=Certified, 4=Adds "Select a Saleclass".</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">show_model_codes</td>
		<td class="td-full center">0=Off, 1=On.</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">show_trims</td>
		<td class="td-full center">0=Off, 1=On.</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">show_search</td>
		<td class="td-full center">0=Off, 1=On.</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">show_counts</td>
		<td class="td-full center">0=Off, 1=On.</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">hide_labels</td>
		<td class="td-full center">0=Off, 1=On.</td>
		<td class="td-full center">0</td>
	</tr>
	<tr>
		<td class="td-full center">style</td>
		<td class="td-full center">stack, wide, inline</td>
		<td class="td-full center">stack</td>
	</tr>
</tbody>
</table>
</div>';

	return $content;
}
