// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`GIFI - register as a component should show dialog 1`] = `
<div
  data-v-app=""
>
  
  <h1
    class="listtop"
  >
    Configure GIFI codes
  </h1>
  
  <div>
    <table
      class="dynatable"
    >
      <thead>
        <tr>
          <!--v-if-->
          
          <th>
            Code
          </th>
          <th>
            Description
          </th>
          
          <th />
        </tr>
      </thead>
      
      <tbody
        class="dynatableData"
      >
        
        
        <!-- eslint-disable prettier/prettier -->
        <tr
          class="data-row"
        >
          <!--v-if-->
          
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="accno"
              readonly=""
              type="text"
              value="0000"
            />
          </td>
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="description"
              readonly=""
              type="text"
              value="Dummy account"
            />
          </td>
          
          <td>
            <!--v-if-->
            <!--v-if-->
          </td>
        </tr>
        
        
        <!-- eslint-disable prettier/prettier -->
        <tr
          class="data-row"
        >
          <!--v-if-->
          
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="accno"
              readonly=""
              type="text"
              value="0001"
            />
          </td>
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="description"
              readonly=""
              type="text"
              value="Dummy account 1"
            />
          </td>
          
          <td>
            <!--v-if-->
            <!--v-if-->
          </td>
        </tr>
        
        
      </tbody>
      <!--v-if-->
      
    </table>
  </div>
  <div>
    <span>
      Download: 
    </span>
    
    <span>
      <a
        href="http://localhost/erp/api/v0/gl/gifi?format=HTML"
        target="_blank"
      >
        [ HTML ]
      </a>
    </span>
    
  </div>
  
  <div
    class="import-section"
  >
    <h2
      class="listheading"
    >
      Import
    </h2>
    <div
      id="import-gifi"
    >
      
      <!-- eslint-disable prettier/prettier -->
      <div
        id="gifi"
      >
        <!--v-if-->
        <form
          name="csvupload"
        >
          <input
            name="type"
            type="hidden"
            value="gifi"
          />
          <!--v-if-->
          <div
            class="non-grid"
            style="width: fit-content;"
          >
            <!--v-if-->
            <div>
              <label>
                From File
              </label>
              <span>
                <input
                  accept=".csv"
                  name="import_file"
                  required=""
                  type="file"
                />
              </span>
            </div>
          </div>
          <div
            class="inputrow non-grid"
            id="buttonrow"
          >
            <input
              name="trans_type"
              type="hidden"
            />
            <button
              class="submit"
              disabled=""
              name="action"
            >
              
              Save
              
            </button>
          </div>
          <div
            class="details"
          >
            
             The following fields are expected (in this order): 
            <dl>
              <dt>
                accno
              </dt>
              <dd />
              <dt>
                description
              </dt>
              <dd />
            </dl>
            
          </div>
        </form>
      </div>
      
    </div>
  </div>
  
</div>
`;

exports[`GIFI - register as a component should show dialog with editable data 1`] = `
<div
  data-v-app=""
>
  
  <h1
    class="listtop"
  >
    Configure GIFI codes
  </h1>
  
  <div>
    <table
      class="dynatable"
    >
      <thead>
        <tr>
          <!--v-if-->
          
          <th>
            Code
          </th>
          <th>
            Description
          </th>
          
          <th />
        </tr>
      </thead>
      
      <tbody
        class="dynatableData"
      >
        
        
        <!-- eslint-disable prettier/prettier -->
        <tr
          class="data-row"
        >
          <!--v-if-->
          
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="accno"
              readonly=""
              type="text"
              value="0000"
            />
          </td>
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="description"
              readonly=""
              type="text"
              value="Dummy account"
            />
          </td>
          
          <td>
            
            <button
              name="modify"
            >
              
              Modify
              
            </button>
            <button
              disabled=""
              name="save"
            >
              
              Save
              
            </button>
            <button
              disabled=""
              name="cancel"
            >
              
              Cancel
              
            </button>
            <!--v-if-->
            
            <!--v-if-->
          </td>
        </tr>
        
        
        <!-- eslint-disable prettier/prettier -->
        <tr
          class="data-row"
        >
          <!--v-if-->
          
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="accno"
              readonly=""
              type="text"
              value="0001"
            />
          </td>
          <td
            class="data-entry"
          >
            <input
              class="neutral input-box"
              name="description"
              readonly=""
              type="text"
              value="Dummy account 1"
            />
          </td>
          
          <td>
            
            <button
              name="modify"
            >
              
              Modify
              
            </button>
            <button
              disabled=""
              name="save"
            >
              
              Save
              
            </button>
            <button
              disabled=""
              name="cancel"
            >
              
              Cancel
              
            </button>
            <!--v-if-->
            
            <!--v-if-->
          </td>
        </tr>
        
        
      </tbody>
      <!--v-if-->
      
    </table>
  </div>
  <div>
    <span>
      Download: 
    </span>
    
    <span>
      <a
        href="http://localhost/erp/api/v0/gl/gifi?format=HTML"
        target="_blank"
      >
        [ HTML ]
      </a>
    </span>
    
  </div>
  
  <div
    class="import-section"
  >
    <h2
      class="listheading"
    >
      Import
    </h2>
    <div
      id="import-gifi"
    >
      
      <!-- eslint-disable prettier/prettier -->
      <div
        id="gifi"
      >
        <!--v-if-->
        <form
          name="csvupload"
        >
          <input
            name="type"
            type="hidden"
            value="gifi"
          />
          <!--v-if-->
          <div
            class="non-grid"
            style="width: fit-content;"
          >
            <!--v-if-->
            <div>
              <label>
                From File
              </label>
              <span>
                <input
                  accept=".csv"
                  name="import_file"
                  required=""
                  type="file"
                />
              </span>
            </div>
          </div>
          <div
            class="inputrow non-grid"
            id="buttonrow"
          >
            <input
              name="trans_type"
              type="hidden"
            />
            <button
              class="submit"
              disabled=""
              name="action"
            >
              
              Save
              
            </button>
          </div>
          <div
            class="details"
          >
            
             The following fields are expected (in this order): 
            <dl>
              <dt>
                accno
              </dt>
              <dd />
              <dt>
                description
              </dt>
              <dd />
            </dl>
            
          </div>
        </form>
      </div>
      
    </div>
  </div>
  
</div>
`;
